fix: rename kline Copy to Set

This commit is contained in:
zenix 2022-07-27 10:55:15 +09:00
parent da51bf44c8
commit 3f33111182

View File

@ -71,7 +71,7 @@ type KLine struct {
Closed bool `json:"closed" db:"closed"`
}
func (k *KLine) Copy(o *KLine) {
func (k *KLine) Set(o *KLine) {
k.GID = o.GID
k.Exchange = o.Exchange
k.Symbol = o.Symbol