bbgo_origin/pkg/bbgo/time.go

16 lines
181 B
Go
Raw Permalink Normal View History

2021-06-09 15:51:20 +00:00
package bbgo
import (
"time"
)
var LocalTimeZone *time.Location
func init() {
var err error
LocalTimeZone, err = time.LoadLocation("Local")
if err != nil {
panic(err)
}
}