mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
fix: rename kline Copy to Set
This commit is contained in:
parent
da51bf44c8
commit
3f33111182
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user