使用go mod
This commit is contained in:
+3
-2
@@ -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{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user