修改go.mod为github

This commit is contained in:
Yun
2024-05-07 20:26:13 +08:00
parent 170275be3b
commit c3121f425e
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
module code.yun.ink/pkg/timerx
module github.com/yuninks/timerx
go 1.19
+8
View File
@@ -20,8 +20,16 @@ func newOptions(opts ...Option) Options {
return o
}
// 设置日志
func SetLogger(log Logger) Option {
return func(o *Options) {
o.logger = log
}
}
// 设定时区
func SetTimeZone(zone string) Option {
return func(o *Options) {
// todo
}
}