重构项目模块路径,从cool-team-official/cool-admin-go改为blazing
This commit is contained in:
@@ -3,8 +3,9 @@ package admin
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/cool-team-official/cool-admin-go/cool"
|
||||
"github.com/cool-team-official/cool-admin-go/modules/dict/service"
|
||||
"blazing/cool"
|
||||
|
||||
"blazing/modules/dict/service"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"github.com/cool-team-official/cool-admin-go/cool"
|
||||
"github.com/cool-team-official/cool-admin-go/modules/dict/service"
|
||||
"blazing/cool"
|
||||
|
||||
"blazing/modules/dict/service"
|
||||
)
|
||||
|
||||
type DictTypeController struct {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
_ "github.com/cool-team-official/cool-admin-go/modules/dict/controller/admin"
|
||||
_ "blazing/modules/dict/controller/admin"
|
||||
)
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
package dict
|
||||
|
||||
import (
|
||||
"github.com/cool-team-official/cool-admin-go/cool"
|
||||
_ "github.com/cool-team-official/cool-admin-go/modules/dict/packed"
|
||||
"blazing/cool"
|
||||
|
||||
_ "blazing/modules/dict/packed"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gctx"
|
||||
|
||||
_ "github.com/cool-team-official/cool-admin-go/modules/dict/controller"
|
||||
"github.com/cool-team-official/cool-admin-go/modules/dict/model"
|
||||
_ "blazing/modules/dict/controller"
|
||||
"blazing/modules/dict/model"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
module github.com/cool-team-official/cool-admin-go/modules/dict
|
||||
module blazing/modules/dict
|
||||
|
||||
go 1.18
|
||||
|
||||
require (
|
||||
github.com/cool-team-official/cool-admin-go/cool v1.5.9
|
||||
|
||||
github.com/gogf/gf/v2 v2.6.3
|
||||
)
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8
|
||||
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
|
||||
github.com/clbanning/mxj/v2 v2.7.0 h1:WA/La7UGCanFe5NpHF0Q3DNtnCsVoxbPKuyBNHWRyME=
|
||||
github.com/clbanning/mxj/v2 v2.7.0/go.mod h1:hNiWqW14h+kc+MdF9C6/YoRfjEJoR3ou6tn/Qo+ve2s=
|
||||
github.com/cool-team-official/cool-admin-go/cool v1.5.9 h1:mvZkckumdnhkr8BGRbB+FKmUeP3tbxmyvSxfNyZAlhE=
|
||||
github.com/cool-team-official/cool-admin-go/cool v1.5.9/go.mod h1:kle9oSJM+yl8ZtQwZFL8PWbz7ByI8Glj1431njGbWPo=
|
||||
blazing/cool v1.5.9 h1:mvZkckumdnhkr8BGRbB+FKmUeP3tbxmyvSxfNyZAlhE=
|
||||
blazing/cool v1.5.9/go.mod h1:kle9oSJM+yl8ZtQwZFL8PWbz7ByI8Glj1431njGbWPo=
|
||||
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||
github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/cool-team-official/cool-admin-go/cool"
|
||||
"blazing/cool"
|
||||
)
|
||||
|
||||
const TableNameDictInfo = "dict_info"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/cool-team-official/cool-admin-go/cool"
|
||||
"blazing/cool"
|
||||
)
|
||||
|
||||
const TableNameDictType = "dict_type"
|
||||
|
||||
@@ -3,8 +3,10 @@ package service
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/cool-team-official/cool-admin-go/cool"
|
||||
"github.com/cool-team-official/cool-admin-go/modules/dict/model"
|
||||
"blazing/cool"
|
||||
|
||||
"blazing/modules/dict/model"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/util/gconv"
|
||||
)
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"github.com/cool-team-official/cool-admin-go/cool"
|
||||
"github.com/cool-team-official/cool-admin-go/modules/dict/model"
|
||||
"blazing/cool"
|
||||
|
||||
"blazing/modules/dict/model"
|
||||
)
|
||||
|
||||
type DictTypeService struct {
|
||||
|
||||
Reference in New Issue
Block a user