mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
fix(cmd/gf): "unknown time zone" when using "gf gen dao" for clickhouse on windows platform (#4368)
fix bug: could not load time location: "unknown time zone Asia/Shanghai" The bug will appear when I use gf in windows to do "gf gen dao" for clickhouse.
This commit is contained in:
@ -7,6 +7,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "time/tzdata"
|
||||
|
||||
"github.com/gogf/gf/v2/errors/gerror"
|
||||
"github.com/gogf/gf/v2/os/gctx"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user