使用go mod

This commit is contained in:
hoteas
2022-03-13 01:12:29 +08:00
parent 7be976cdeb
commit ac027c6e42
19 changed files with 33 additions and 32 deletions
+3 -2
View File
@@ -1,8 +1,8 @@
package main
import (
"../../hotime"
//"../dri/aliyun"
"code.hoteas.com/golang/hotime"
//"code.hoteas.com/golang/hotime/dri/aliyun"
"fmt"
"time"
)
@@ -12,4 +12,5 @@ func main() {
fmt.Println(date, date.Unix())
//fmt.Println("0123456"[1:7])
appIns := hotime.Init("config/config.json")
appIns.Run(hotime.Router{})
}