使用go mod

This commit is contained in:
hoteas
2022-03-13 01:12:29 +08:00
parent 8265e24add
commit e49164fa81
19 changed files with 33 additions and 32 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
package code
import (
. "../common"
. "code.hoteas.com/golang/hotime/common"
)
var Config = Map{
+2 -2
View File
@@ -1,8 +1,8 @@
package code
import (
. "../common"
"../db"
. "code.hoteas.com/golang/hotime/common"
"code.hoteas.com/golang/hotime/db"
"errors"
"fmt"
"io/ioutil"
+4 -4
View File
@@ -3,8 +3,8 @@ package code
var InitTpt = `package {{name}}
import (
. "../../../hotime"
. "../../../hotime/common"
. "code.hoteas.com/golang/hotime"
. "code.hoteas.com/golang/hotime/common"
)
var ID = "{{id}}"
@@ -69,8 +69,8 @@ var Project = Proj{
var CtrTpt = `package {{name}}
import (
. "../../../hotime"
. "../../../hotime/common"
. "code.hoteas.com/golang/hotime"
. "code.hoteas.com/golang/hotime/common"
"strings"
)