diff --git a/.deepsource.toml b/.deepsource.toml
index 5dc1307dd..1f273ce35 100644
--- a/.deepsource.toml
+++ b/.deepsource.toml
@@ -5,4 +5,4 @@ name = "go"
enabled = true
[analyzers.meta]
- import_paths = ["github.com/GoAdminGroup/go-admin"]
+ import_paths = ["github.com/ChenSee/go-admin"]
diff --git a/.drone.yml b/.drone.yml
index fe354a030..9db051f9e 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -24,7 +24,7 @@ steps:
GO111MODULE: on
GOPROXY: https://goproxy.cn
commands:
- - cd /go/src/github.com/GoAdminGroup/go-admin
+ - cd /go/src/github.com/ChenSee/go-admin
- git pull
- git fetch origin pull/$DRONE_PULL_REQUEST/head:pr$DRONE_PULL_REQUEST
- git checkout pr$DRONE_PULL_REQUEST
@@ -62,12 +62,12 @@ steps:
image: chg80333/goadmin-test:v8
volumes:
- name: data
- path: /go/src/github.com/GoAdminGroup/go-admin/tests/data
+ path: /go/src/github.com/ChenSee/go-admin/tests/data
environment:
GO111MODULE: on
GOPROXY: https://goproxy.cn
commands:
- - cd /go/src/github.com/GoAdminGroup/go-admin
+ - cd /go/src/github.com/ChenSee/go-admin
- git pull
- git fetch origin pull/$DRONE_PULL_REQUEST/head:pr$DRONE_PULL_REQUEST
- git checkout pr$DRONE_PULL_REQUEST
@@ -101,7 +101,7 @@ steps:
GO111MODULE: on
GOPROXY: https://goproxy.cn
commands:
- - cd /go/src/github.com/GoAdminGroup/go-admin
+ - cd /go/src/github.com/ChenSee/go-admin
- git pull
- git fetch origin pull/$DRONE_PULL_REQUEST/head:pr$DRONE_PULL_REQUEST
- git checkout pr$DRONE_PULL_REQUEST
@@ -127,7 +127,7 @@ steps:
GO111MODULE: on
GOPROXY: https://goproxy.cn
commands:
- - cd /go/src/github.com/GoAdminGroup/go-admin
+ - cd /go/src/github.com/ChenSee/go-admin
- git pull
- git fetch origin pull/$DRONE_PULL_REQUEST/head:pr$DRONE_PULL_REQUEST
- git checkout pr$DRONE_PULL_REQUEST
@@ -160,7 +160,7 @@ steps:
GO111MODULE: on
GOPROXY: https://goproxy.cn
commands:
- - cd /go/src/github.com/GoAdminGroup/go-admin
+ - cd /go/src/github.com/ChenSee/go-admin
- git pull
- git fetch origin pull/$DRONE_PULL_REQUEST/head:pr$DRONE_PULL_REQUEST
- git checkout pr$DRONE_PULL_REQUEST
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 1656ab7e4..189d548b3 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -9,7 +9,7 @@ If you want to contribute, but not sure what to do, here's a list of things that
* Finding security problems
* Themes and Plugins
-See [manual](https://github.com/GoAdminGroup/go-admin/projects/3) for more information.
+See [manual](https://github.com/ChenSee/go-admin/projects/3) for more information.
You can view all open issues on github, which is usually a good starting point if you want to start contributing:
@@ -22,12 +22,12 @@ GoAdmin uses GitHub to manage reviews of pull requests:
- If you have a trivial fix or improvement, go ahead and create a pull request.
- If you plan to do something more involved, discuss your ideas on the relevant GitHub issue.
-For now, you need to add your fork as a remote on the original **\$GOPATH**/src/github.com/GoAdminGroup/go-admin clone, so:
+For now, you need to add your fork as a remote on the original **\$GOPATH**/src/github.com/ChenSee/go-admin clone, so:
```bash
-$ go get github.com/GoAdminGroup/go-admin
-$ cd $GOPATH/src/github.com/GoAdminGroup/go-admin # GOPATH is $HOME/go by default.
+$ go get github.com/ChenSee/go-admin
+$ cd $GOPATH/src/github.com/ChenSee/go-admin # GOPATH is $HOME/go by default.
$ git remote add
```
@@ -40,7 +40,7 @@ make test
See the Makefile for more details.
-Notice: `go get` return `package github.com/GoAdminGroup/go-admin: no Go files in /go/src/github.com/GoAdminGroup/go-admin` is normal.
+Notice: `go get` return `package github.com/ChenSee/go-admin: no Go files in /go/src/github.com/ChenSee/go-admin` is normal.
### Dependency management
@@ -80,5 +80,5 @@ You can also donate or become a patreon, which helps out covering server costs a
If you are a member of the official GoAdmin developer Team:
* [Discussions](http://forum.go-admin.cn)
-* [Tasks](https://github.com/GoAdminGroup/go-admin/projects)
+* [Tasks](https://github.com/ChenSee/go-admin/projects)
* [Chat](https://t.me/joinchat/NlyH6Bch2QARZkArithKvg)
\ No newline at end of file
diff --git a/CONTRIBUTING_CN.md b/CONTRIBUTING_CN.md
index a2ef93bf2..a9b926cc7 100644
--- a/CONTRIBUTING_CN.md
+++ b/CONTRIBUTING_CN.md
@@ -9,7 +9,7 @@
* 寻找安全问题
* 主题和插件
-在这里:[功能规划](https://github.com/GoAdminGroup/go-admin/projects/3) 可以获得更多信息。
+在这里:[功能规划](https://github.com/ChenSee/go-admin/projects/3) 可以获得更多信息。
你也可以看一下所有开放的issues,从这里去入手:
@@ -22,12 +22,12 @@ GoAdmin 使用 GitHub 来管理项目代码:
- 如果你发现一些微不足道的fix或者功能增加,直接提pr即可;
- 如果你有一些提议,那么你可以先开一个issue进行讨论;
-然后,你需要fork远程的master分支到你本地 **\$GOPATH**/src/github.com/GoAdminGroup/go-admin :
+然后,你需要fork远程的master分支到你本地 **\$GOPATH**/src/github.com/ChenSee/go-admin :
```bash
-$ go get github.com/GoAdminGroup/go-admin
-$ cd $GOPATH/src/github.com/GoAdminGroup/go-admin # GOPATH is $HOME/go by default.
+$ go get github.com/ChenSee/go-admin
+$ cd $GOPATH/src/github.com/ChenSee/go-admin # GOPATH is $HOME/go by default.
$ git remote add
```
@@ -40,7 +40,7 @@ make test
看根目录下的```Makefile```获得更多信息。
-注意了: `go get` 返回 `package github.com/GoAdminGroup/go-admin: no Go files in /go/src/github.com/GoAdminGroup/go-admin` 是正常的。
+注意了: `go get` 返回 `package github.com/ChenSee/go-admin: no Go files in /go/src/github.com/ChenSee/go-admin` 是正常的。
### 依赖管理
@@ -80,5 +80,5 @@ git commit
如果你已经是GoAdmin的官方开发组成员:
* [Discussions](http://forum.go-admin.cn)
-* [Tasks](https://github.com/GoAdminGroup/go-admin/projects)
+* [Tasks](https://github.com/ChenSee/go-admin/projects)
* [Chat](https://t.me/joinchat/NlyH6Bch2QARZkArithKvg)
\ No newline at end of file
diff --git a/README.md b/README.md
index 732526061..c28010f43 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-
+
@@ -20,11 +20,11 @@
-
-
+
+
-
+
@@ -57,7 +57,7 @@ We need your help: [https://github.com/GoAdminGroup/docs/issues/1](https://githu
## Who is using
-[Comment the issue to tell us](https://github.com/GoAdminGroup/go-admin/issues/71).
+[Comment the issue to tell us](https://github.com/ChenSee/go-admin/issues/71).
## How to
@@ -98,17 +98,17 @@ package main
import (
"github.com/gin-gonic/gin"
- _ "github.com/GoAdminGroup/go-admin/adapter/gin"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/themes/adminlte"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/language"
+ _ "github.com/ChenSee/go-admin/adapter/gin"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/goAdminThemes/adminlte"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/language"
)
func main() {
@@ -170,7 +170,7 @@ func main() {
-More framework examples: [https://github.com/GoAdminGroup/go-admin/tree/master/examples](https://github.com/GoAdminGroup/go-admin/tree/master/examples)
+More framework examples: [https://github.com/ChenSee/go-admin/tree/master/examples](https://github.com/ChenSee/go-admin/tree/master/examples)
### Step 3: run
diff --git a/README_CN.md b/README_CN.md
index dbd50fca7..28b7375aa 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -1,5 +1,5 @@
-
+
@@ -8,11 +8,11 @@
-
-
+
+
-
+
@@ -41,7 +41,7 @@ GoAdmin 可以帮助你的golang应用快速实现数据可视化,搭建一个
## 谁在使用GoAdmin
-[评论这个issue告诉我们](https://github.com/GoAdminGroup/go-admin/issues/71).
+[评论这个issue告诉我们](https://github.com/ChenSee/go-admin/issues/71).
## 使用
@@ -81,17 +81,17 @@ package main
import (
"github.com/gin-gonic/gin"
- _ "github.com/GoAdminGroup/go-admin/adapter/gin"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/themes/adminlte"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/language"
+ _ "github.com/ChenSee/go-admin/adapter/gin"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/goAdminThemes/adminlte"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/language"
)
func main() {
@@ -153,7 +153,7 @@ func main() {
-更多框架的例子: [https://github.com/GoAdminGroup/go-admin/tree/master/examples](https://github.com/GoAdminGroup/go-admin/tree/master/examples)
+更多框架的例子: [https://github.com/ChenSee/go-admin/tree/master/examples](https://github.com/ChenSee/go-admin/tree/master/examples)
### 第三步:运行
@@ -177,7 +177,7 @@ GO111MODULE=on go run main.go
QQ群:[641768714](https://jq.qq.com/?_wv=1027&k=qn8oXyGC),记得备注加群来意
-这里是[开发计划](https://github.com/GoAdminGroup/go-admin/projects)
+这里是[开发计划](https://github.com/ChenSee/go-admin/projects)
[点击这里申请加微信群(记得备注加群)](http://quick.go-admin.cn/resource/wechat_qrcode_02.jpg)
diff --git a/adapter/adapter.go b/adapter/adapter.go
index 59dc4c0ce..e33de817c 100644
--- a/adapter/adapter.go
+++ b/adapter/adapter.go
@@ -9,18 +9,18 @@ import (
"fmt"
"net/url"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/constant"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
// WebFrameWork is an interface which is used as an adapter of
diff --git a/adapter/beego/beego.go b/adapter/beego/beego.go
index 07b1914c8..b95e45dce 100644
--- a/adapter/beego/beego.go
+++ b/adapter/beego/beego.go
@@ -11,14 +11,14 @@ import (
"net/url"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- gctx "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ gctx "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/astaxie/beego"
"github.com/astaxie/beego/context"
)
diff --git a/adapter/beego2/beego2.go b/adapter/beego2/beego2.go
index 92367e2b4..82055d6fb 100644
--- a/adapter/beego2/beego2.go
+++ b/adapter/beego2/beego2.go
@@ -7,14 +7,14 @@ import (
"net/url"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- gctx "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ gctx "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/beego/beego/v2/server/web"
"github.com/beego/beego/v2/server/web/context"
)
diff --git a/adapter/buffalo/buffalo.go b/adapter/buffalo/buffalo.go
index 552c21276..f7117640a 100644
--- a/adapter/buffalo/buffalo.go
+++ b/adapter/buffalo/buffalo.go
@@ -12,14 +12,14 @@ import (
"regexp"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/gobuffalo/buffalo"
)
diff --git a/adapter/chi/chi.go b/adapter/chi/chi.go
index 45bbe7739..3c0ed7043 100644
--- a/adapter/chi/chi.go
+++ b/adapter/chi/chi.go
@@ -12,14 +12,14 @@ import (
"regexp"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- cfg "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ cfg "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/go-chi/chi"
)
diff --git a/adapter/echo/echo.go b/adapter/echo/echo.go
index 8151326cd..f0d07509b 100644
--- a/adapter/echo/echo.go
+++ b/adapter/echo/echo.go
@@ -11,14 +11,14 @@ import (
"net/url"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/labstack/echo/v4"
)
diff --git a/adapter/fasthttp/fasthttp.go b/adapter/fasthttp/fasthttp.go
index e6632ffc6..0654cbc4e 100644
--- a/adapter/fasthttp/fasthttp.go
+++ b/adapter/fasthttp/fasthttp.go
@@ -12,14 +12,14 @@ import (
"net/url"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/buaazp/fasthttprouter"
"github.com/valyala/fasthttp"
)
diff --git a/adapter/gear/gear.go b/adapter/gear/gear.go
index 8a5835344..16bf61aef 100644
--- a/adapter/gear/gear.go
+++ b/adapter/gear/gear.go
@@ -15,15 +15,15 @@ import (
"regexp"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/teambition/gear"
)
diff --git a/adapter/gf/gf.go b/adapter/gf/gf.go
index 4708c1cb8..ae79db11e 100644
--- a/adapter/gf/gf.go
+++ b/adapter/gf/gf.go
@@ -12,15 +12,15 @@ import (
"regexp"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/gogf/gf/net/ghttp"
)
diff --git a/adapter/gf2/gf2.go b/adapter/gf2/gf2.go
index 20daa03c1..682ff81e8 100644
--- a/adapter/gf2/gf2.go
+++ b/adapter/gf2/gf2.go
@@ -8,15 +8,15 @@ import (
"regexp"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/constant"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/gogf/gf/v2/net/ghttp"
)
diff --git a/adapter/gin/gin.go b/adapter/gin/gin.go
index cb580b9e1..300b152d9 100644
--- a/adapter/gin/gin.go
+++ b/adapter/gin/gin.go
@@ -11,14 +11,14 @@ import (
"net/url"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/gin-gonic/gin"
)
diff --git a/adapter/gofiber/gofiber.go b/adapter/gofiber/gofiber.go
index 9b9dea265..bab30672c 100644
--- a/adapter/gofiber/gofiber.go
+++ b/adapter/gofiber/gofiber.go
@@ -11,14 +11,14 @@ import (
"net/url"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/gofiber/fiber/v2"
"github.com/valyala/fasthttp"
)
diff --git a/adapter/gorilla/gorilla.go b/adapter/gorilla/gorilla.go
index 154561e43..c352eeba2 100644
--- a/adapter/gorilla/gorilla.go
+++ b/adapter/gorilla/gorilla.go
@@ -12,14 +12,14 @@ import (
"regexp"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/gorilla/mux"
)
diff --git a/adapter/iris/iris.go b/adapter/iris/iris.go
index 08f5bfcdd..67e2adc92 100644
--- a/adapter/iris/iris.go
+++ b/adapter/iris/iris.go
@@ -11,16 +11,16 @@ import (
"net/url"
"strings"
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/kataras/iris/v12"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
)
// Iris structure value is an Iris GoAdmin adapter.
diff --git a/adm/add.go b/adm/add.go
index 5ae23222c..7fdd494b0 100644
--- a/adm/add.go
+++ b/adm/add.go
@@ -4,9 +4,9 @@ import (
"runtime"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
"gopkg.in/ini.v1"
)
diff --git a/adm/cli.go b/adm/cli.go
index 17e34ac76..6d39e378d 100644
--- a/adm/cli.go
+++ b/adm/cli.go
@@ -6,10 +6,10 @@ package main
import (
"fmt"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/oceanbase"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/oceanbase"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
"os"
"runtime"
"runtime/debug"
diff --git a/adm/cli_test.go b/adm/cli_test.go
index 7a9f2327c..438c801b8 100644
--- a/adm/cli_test.go
+++ b/adm/cli_test.go
@@ -3,7 +3,7 @@ package main
import (
"testing"
- "github.com/GoAdminGroup/go-admin/modules/system"
+ "github.com/ChenSee/go-admin/modules/system"
"github.com/magiconair/properties/assert"
)
diff --git a/adm/db.go b/adm/db.go
index 43b04cc31..dc5f0530b 100644
--- a/adm/db.go
+++ b/adm/db.go
@@ -5,8 +5,8 @@ import (
"time"
"github.com/AlecAivazis/survey/v2"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
"gopkg.in/ini.v1"
)
diff --git a/adm/generate.go b/adm/generate.go
index 348e9e0b4..b8c5d34bf 100644
--- a/adm/generate.go
+++ b/adm/generate.go
@@ -11,9 +11,9 @@ import (
"github.com/AlecAivazis/survey/v2"
"github.com/AlecAivazis/survey/v2/core"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/tools"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/tools"
"github.com/mgutz/ansi"
"github.com/schollz/progressbar"
"gopkg.in/ini.v1"
diff --git a/adm/helper.go b/adm/helper.go
index a5ca6dc47..9e89e880e 100644
--- a/adm/helper.go
+++ b/adm/helper.go
@@ -8,10 +8,10 @@ import (
"strings"
"time"
- "github.com/GoAdminGroup/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/modules/utils"
"github.com/mgutz/ansi"
- "github.com/GoAdminGroup/go-admin/modules/system"
+ "github.com/ChenSee/go-admin/modules/system"
)
func cliInfo() {
diff --git a/adm/plugin_template.go b/adm/plugin_template.go
index 6148683eb..c4e1ff5ee 100644
--- a/adm/plugin_template.go
+++ b/adm/plugin_template.go
@@ -7,15 +7,15 @@ import (
"{{.ModulePath}}/controller"
"{{.ModulePath}}/guard"
language2 "{{.ModulePath}}/modules/language"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/service"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins"
- form2 "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins"
+ form2 "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template/types"
)
type {{.PluginTitle}} struct {
@@ -124,9 +124,9 @@ func (plug *{{.PluginTitle}}) GetSettingPage() table.Generator {
"controller": `package controller
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
type Handler struct {
@@ -146,8 +146,8 @@ func (h *Handler) Update(/*...*/) {
"controller_example": `package controller
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/template/types"
"html/template"
"{{.ModulePath}}/guard"
)
@@ -164,7 +164,7 @@ func (h *Handler) Example(ctx *context.Context) {
"guard": `package guard
import (
- "github.com/GoAdminGroup/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db"
)
type Guardian struct {
@@ -183,7 +183,7 @@ func (g *Guardian) Update(/*...*/) {
"guard_example": `package guard
import (
- "github.com/GoAdminGroup/go-admin/context"
+ "github.com/ChenSee/go-admin/context"
)
type ExampleParam struct {
@@ -215,9 +215,9 @@ test:
"router": `package {{.PluginName}}
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/service"
)
func (plug *{{.PluginTitle}}) initRouter(srv service.List) *context.App {
@@ -232,7 +232,7 @@ func (plug *{{.PluginTitle}}) initRouter(srv service.List) *context.App {
"language": `package language
import (
- "github.com/GoAdminGroup/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/language"
"html/template"
)
@@ -245,14 +245,14 @@ func GetHTML(key string) template.HTML {
}`,
"language_cn": `package language
-import "github.com/GoAdminGroup/go-admin/modules/language"
+import "github.com/ChenSee/go-admin/modules/language"
var CN = language.LangSet{
"{{.PluginName}}.aaa": "aaa",
}`,
"language_en": `package language
-import "github.com/GoAdminGroup/go-admin/modules/language"
+import "github.com/ChenSee/go-admin/modules/language"
var EN = language.LangSet{
"{{.PluginName}}.aaa": "aaa",
diff --git a/adm/project.go b/adm/project.go
index e65c7b20f..b532bde03 100644
--- a/adm/project.go
+++ b/adm/project.go
@@ -13,11 +13,11 @@ import (
"strings"
"text/template"
- "github.com/GoAdminGroup/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- template2 "github.com/GoAdminGroup/go-admin/template"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ template2 "github.com/ChenSee/go-admin/template"
"github.com/mgutz/ansi"
"gopkg.in/ini.v1"
)
@@ -177,7 +177,7 @@ func buildProject(cfgFile string) {
fmt.Println("- postgresql: " + ansi.Color("https://gitee.com/go-admin/go-admin/raw/master/data/admin.pgsql", "blue"))
fmt.Println("- mysql: " + ansi.Color("https://gitee.com/go-admin/go-admin/raw/master/data/admin.sql", "blue"))
} else {
- fmt.Println("- sqlite: " + ansi.Color("https://github.com/GoAdminGroup/go-admin/raw/master/data/admin.db", "blue"))
+ fmt.Println("- sqlite: " + ansi.Color("https://github.com/ChenSee/go-admin/raw/master/data/admin.db", "blue"))
fmt.Println("- mssql: " + ansi.Color("https://raw.githubusercontent.com/GoAdminGroup/go-admin/master/data/admin.mssql", "blue"))
fmt.Println("- postgresql: " + ansi.Color("https://raw.githubusercontent.com/GoAdminGroup/go-admin/master/data/admin.pgsql", "blue"))
fmt.Println("- mysql: " + ansi.Color("https://raw.githubusercontent.com/GoAdminGroup/go-admin/master/data/admin.sql", "blue"))
@@ -260,7 +260,7 @@ func installProjectTmpl(p Project, cfg *config.Config, cfgFile string, info *dbI
checkError(ioutil.WriteFile("./models/base.go", []byte(`package models
import (
- "github.com/GoAdminGroup/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db"
"github.com/jinzhu/gorm"
)
@@ -321,7 +321,7 @@ func Init(c db.Connection) {
checkError(ioutil.WriteFile("./tables/tables.go", []byte(`// This file is generated by GoAdmin CLI adm.
package tables
-import "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+import "github.com/ChenSee/go-admin/plugins/admin/modules/table"
// Generators is a map of table models.
//
diff --git a/adm/project_template.go b/adm/project_template.go
index 672debefa..58121d7cc 100644
--- a/adm/project_template.go
+++ b/adm/project_template.go
@@ -15,13 +15,13 @@ import (
"syscall"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/gin" // web framework adapter
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
- _ "github.com/GoAdminGroup/themes/{{.Theme}}" // ui theme
+ _ "github.com/ChenSee/go-admin/adapter/gin" // web framework adapter
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
+ _ "github.com/ChenSee/goAdminThemes/{{.Theme}}" // ui theme
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/gin-gonic/gin"
"{{.Module}}/pages"
@@ -95,13 +95,13 @@ import (
"os"
"os/signal"
- _ "github.com/GoAdminGroup/go-admin/adapter/beego" // web framework adapter
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
- _ "github.com/GoAdminGroup/themes/{{.Theme}}" // ui theme
+ _ "github.com/ChenSee/go-admin/adapter/beego" // web framework adapter
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
+ _ "github.com/ChenSee/goAdminThemes/{{.Theme}}" // ui theme
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/astaxie/beego"
"{{.Module}}/pages"
@@ -156,13 +156,13 @@ import (
"os"
"os/signal"
- _ "github.com/GoAdminGroup/go-admin/adapter/buffalo" // web framework adapter
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
- _ "github.com/GoAdminGroup/themes/{{.Theme}}" // ui theme
+ _ "github.com/ChenSee/go-admin/adapter/buffalo" // web framework adapter
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
+ _ "github.com/ChenSee/goAdminThemes/{{.Theme}}" // ui theme
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/gobuffalo/buffalo"
"{{.Module}}/pages"
@@ -222,13 +222,13 @@ import (
"path/filepath"
"strings"
- _ "github.com/GoAdminGroup/go-admin/adapter/chi" // web framework adapter
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
- _ "github.com/GoAdminGroup/themes/{{.Theme}}" // ui theme
+ _ "github.com/ChenSee/go-admin/adapter/chi" // web framework adapter
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
+ _ "github.com/ChenSee/goAdminThemes/{{.Theme}}" // ui theme
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/go-chi/chi"
"{{.Module}}/pages"
@@ -305,13 +305,13 @@ import (
"os"
"os/signal"
- _ "github.com/GoAdminGroup/go-admin/adapter/echo" // web framework adapter
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
- _ "github.com/GoAdminGroup/themes/{{.Theme}}" // ui theme
+ _ "github.com/ChenSee/go-admin/adapter/echo" // web framework adapter
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
+ _ "github.com/ChenSee/goAdminThemes/{{.Theme}}" // ui theme
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/labstack/echo/v4"
"{{.Module}}/pages"
@@ -363,13 +363,13 @@ import (
"os"
"os/signal"
- _ "github.com/GoAdminGroup/go-admin/adapter/fasthttp" // web framework adapter
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
- _ "github.com/GoAdminGroup/themes/{{.Theme}}" // ui theme
+ _ "github.com/ChenSee/go-admin/adapter/fasthttp" // web framework adapter
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
+ _ "github.com/ChenSee/goAdminThemes/{{.Theme}}" // ui theme
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/buaazp/fasthttprouter"
"github.com/valyala/fasthttp"
@@ -424,13 +424,13 @@ import (
"os"
"os/signal"
- _ "github.com/GoAdminGroup/go-admin/adapter/gf" // web framework adapter
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
- _ "github.com/GoAdminGroup/themes/{{.Theme}}" // ui theme
+ _ "github.com/ChenSee/go-admin/adapter/gf" // web framework adapter
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
+ _ "github.com/ChenSee/goAdminThemes/{{.Theme}}" // ui theme
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/gogf/gf/frame/g"
"{{.Module}}/pages"
@@ -484,13 +484,13 @@ import (
"os"
"os/signal"
- _ "github.com/GoAdminGroup/go-admin/adapter/gorilla" // web framework adapter
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
- _ "github.com/GoAdminGroup/themes/{{.Theme}}" // ui theme
+ _ "github.com/ChenSee/go-admin/adapter/gorilla" // web framework adapter
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
+ _ "github.com/ChenSee/goAdminThemes/{{.Theme}}" // ui theme
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/gorilla/mux"
"{{.Module}}/pages"
@@ -544,13 +544,13 @@ import (
"os"
"os/signal"
- _ "github.com/GoAdminGroup/go-admin/adapter/iris" // web framework adapter
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
- _ "github.com/GoAdminGroup/themes/{{.Theme}}" // ui theme
+ _ "github.com/ChenSee/go-admin/adapter/iris" // web framework adapter
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/{{.DriverModule}}" // sql driver
+ _ "github.com/ChenSee/goAdminThemes/{{.Theme}}" // ui theme
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/kataras/iris/v12"
"{{.Module}}/pages"
@@ -604,15 +604,15 @@ func startServer() {
var swordIndexPage = []byte(`package pages
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- template2 "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/themes/sword/components/card"
- "github.com/GoAdminGroup/themes/sword/components/chart_legend"
- "github.com/GoAdminGroup/themes/sword/components/description"
- "github.com/GoAdminGroup/themes/sword/components/progress_group"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ template2 "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/goAdminThemes/sword/components/card"
+ "github.com/ChenSee/goAdminThemes/sword/components/chart_legend"
+ "github.com/ChenSee/goAdminThemes/sword/components/description"
+ "github.com/ChenSee/goAdminThemes/sword/components/progress_group"
"html/template"
)
@@ -877,17 +877,17 @@ like Aldus PageMaker including versions of Lorem Ipsum.
var adminlteIndexPage = []byte(`package pages
import (
- "github.com/GoAdminGroup/go-admin/context"
- tmpl "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/themes/adminlte/components/chart_legend"
- "github.com/GoAdminGroup/themes/adminlte/components/description"
- "github.com/GoAdminGroup/themes/adminlte/components/infobox"
- "github.com/GoAdminGroup/themes/adminlte/components/productlist"
- "github.com/GoAdminGroup/themes/adminlte/components/progress_group"
- "github.com/GoAdminGroup/themes/adminlte/components/smallbox"
+ "github.com/ChenSee/go-admin/context"
+ tmpl "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/chart_legend"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/description"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/infobox"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/productlist"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/progress_group"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/smallbox"
"html/template"
)
@@ -1273,11 +1273,11 @@ var mainTest = []byte(`package main
import (
"./tables"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/tests"
- "github.com/GoAdminGroup/go-admin/tests/common"
- "github.com/GoAdminGroup/go-admin/tests/frameworks/gin"
- "github.com/GoAdminGroup/go-admin/tests/web"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/tests"
+ "github.com/ChenSee/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/frameworks/gin"
+ "github.com/ChenSee/go-admin/tests/web"
"github.com/gavv/httpexpect"
"log"
"testing"
@@ -1321,11 +1321,11 @@ var mainTestCN = []byte(`package main
import (
"./tables"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/tests"
- "github.com/GoAdminGroup/go-admin/tests/common"
- "github.com/GoAdminGroup/go-admin/tests/frameworks/gin"
- "github.com/GoAdminGroup/go-admin/tests/web"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/tests"
+ "github.com/ChenSee/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/frameworks/gin"
+ "github.com/ChenSee/go-admin/tests/web"
"github.com/gavv/httpexpect"
"log"
"testing"
@@ -1438,7 +1438,7 @@ var readme = `# GoAdmin Instruction
GoAdmin is a golang framework help gopher quickly build a data visualization platform.
-- [github](https://github.com/GoAdminGroup/go-admin)
+- [github](https://github.com/ChenSee/go-admin)
- [forum](http://discuss.go-admin.com)
- [document](https://book.go-admin.cn)
@@ -1481,7 +1481,7 @@ var readmeCN = `# GoAdmin 介绍
GoAdmin 是一个帮你快速搭建数据可视化管理应用平台的框架。
-- [github](https://github.com/GoAdminGroup/go-admin)
+- [github](https://github.com/ChenSee/go-admin)
- [论坛](http://discuss.go-admin.com)
- [文档](https://book.go-admin.cn)
diff --git a/adm/project_web.go b/adm/project_web.go
index 80d4c57c7..46021e590 100644
--- a/adm/project_web.go
+++ b/adm/project_web.go
@@ -14,10 +14,10 @@ import (
"strings"
"time"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/system"
- "github.com/GoAdminGroup/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/system"
+ "github.com/ChenSee/go-admin/modules/utils"
)
func buildProjectWeb(port string) {
diff --git a/adm/project_web.tmpl b/adm/project_web.tmpl
index 9b27d7f13..b33b8bd88 100644
--- a/adm/project_web.tmpl
+++ b/adm/project_web.tmpl
@@ -405,7 +405,7 @@
-
Github: https://github.com/GoAdminGroup/go-admin
+ href="https://github.com/ChenSee/go-admin" target="_blank">https://github.com/ChenSee/go-admin
-
官网:
-
Github: https://github.com/GoAdminGroup/go-admin
+ href="https://github.com/ChenSee/go-admin" target="_blank">https://github.com/ChenSee/go-admin
-
Official Website:
-
Github: https://github.com/GoAdminGroup/go-admin
+ href="https://github.com/ChenSee/go-admin" target="_blank">https://github.com/ChenSee/go-admin
-
官网:
-
Github: https://github.com/GoAdminGroup/go-admin
+ href="https://github.com/ChenSee/go-admin" target="_blank">https://github.com/ChenSee/go-admin
-
Official Website: /user/(.*)
-// /user/:id/info => /user/(.*?)/info
+// /user/:id => /user/(.*)
+// /user/:id/info => /user/(.*?)/info
//
// The RegUrl will be used to recognize the incoming path and find
// the handler.
@@ -636,8 +636,8 @@ type RouterGroup struct {
// support the route parameter. The route parameter will be recognized as
// wildcard store into the RegUrl of Path struct. For example:
//
-// /user/:id => /user/(.*)
-// /user/:id/info => /user/(.*?)/info
+// /user/:id => /user/(.*)
+// /user/:id/info => /user/(.*?)/info
//
// The RegUrl will be used to recognize the incoming path and find
// the handler.
@@ -728,12 +728,11 @@ func (g *RouterGroup) Group(prefix string, middleware ...Handler) *RouterGroup {
// slash fix the path which has wrong format problem.
//
-// "" => "/"
-// "abc/" => "/abc"
-// "/abc/" => "/abc"
-// "/abc" => "/abc"
-// "/" => "/"
-//
+// "" => "/"
+// "abc/" => "/abc"
+// "/abc/" => "/abc"
+// "/abc" => "/abc"
+// "/" => "/"
func slash(prefix string) string {
prefix = strings.TrimSpace(prefix)
if prefix == "" || prefix == "/" {
diff --git a/engine/engine.go b/engine/engine.go
index e09347099..e5490f53c 100644
--- a/engine/engine.go
+++ b/engine/engine.go
@@ -15,28 +15,28 @@ import (
"strings"
"sync"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types/action"
-
- "github.com/GoAdminGroup/go-admin/adapter"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/modules/service"
- "github.com/GoAdminGroup/go-admin/modules/system"
- "github.com/GoAdminGroup/go-admin/modules/ui"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types/action"
+
+ "github.com/ChenSee/go-admin/adapter"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/modules/system"
+ "github.com/ChenSee/go-admin/modules/ui"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
// Engine is the core component of goAdmin. It has two attributes.
diff --git a/examples/beego/main.go b/examples/beego/main.go
index 88b7a023e..2d4fa2f0d 100644
--- a/examples/beego/main.go
+++ b/examples/beego/main.go
@@ -6,17 +6,17 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/beego"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/themes/adminlte"
+ _ "github.com/ChenSee/go-admin/adapter/beego"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"github.com/astaxie/beego"
)
diff --git a/examples/beego2/main.go b/examples/beego2/main.go
index 179bfa6e9..5972dd8df 100644
--- a/examples/beego2/main.go
+++ b/examples/beego2/main.go
@@ -6,17 +6,17 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/beego2"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/adapter/beego2"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"github.com/beego/beego/v2/server/web"
)
diff --git a/examples/buffalo/main.go b/examples/buffalo/main.go
index 509e62ca5..2f855e7cb 100644
--- a/examples/buffalo/main.go
+++ b/examples/buffalo/main.go
@@ -7,17 +7,17 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/buffalo"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/themes/adminlte"
+ _ "github.com/ChenSee/go-admin/adapter/buffalo"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"github.com/gobuffalo/buffalo"
)
diff --git a/examples/chi/main.go b/examples/chi/main.go
index 12a26268f..c7b84dbda 100644
--- a/examples/chi/main.go
+++ b/examples/chi/main.go
@@ -9,17 +9,17 @@ import (
"strings"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/chi"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/themes/adminlte"
+ _ "github.com/ChenSee/go-admin/adapter/chi"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"github.com/go-chi/chi"
)
diff --git a/examples/datamodel/authors.go b/examples/datamodel/authors.go
index a0441ef57..859a461e9 100644
--- a/examples/datamodel/authors.go
+++ b/examples/datamodel/authors.go
@@ -1,10 +1,10 @@
package datamodel
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template/types/form"
)
// GetAuthorsTable return the model of table author.
diff --git a/examples/datamodel/content.go b/examples/datamodel/content.go
index e4d25e3eb..80309085a 100644
--- a/examples/datamodel/content.go
+++ b/examples/datamodel/content.go
@@ -3,17 +3,17 @@ package datamodel
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/context"
- tmpl "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/themes/adminlte/components/chart_legend"
- "github.com/GoAdminGroup/themes/adminlte/components/description"
- "github.com/GoAdminGroup/themes/adminlte/components/infobox"
- "github.com/GoAdminGroup/themes/adminlte/components/productlist"
- "github.com/GoAdminGroup/themes/adminlte/components/progress_group"
- "github.com/GoAdminGroup/themes/adminlte/components/smallbox"
+ "github.com/ChenSee/go-admin/context"
+ tmpl "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/chart_legend"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/description"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/infobox"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/productlist"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/progress_group"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/smallbox"
)
// GetContent return the content of index page.
diff --git a/examples/datamodel/goadmin_super_users.go b/examples/datamodel/goadmin_super_users.go
index 794604142..c40e401db 100644
--- a/examples/datamodel/goadmin_super_users.go
+++ b/examples/datamodel/goadmin_super_users.go
@@ -1,10 +1,10 @@
package datamodel
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template/types/form"
)
func GetGoadminSuperUsersTable(ctx *context.Context) table.Table {
diff --git a/examples/datamodel/mysql_types.go b/examples/datamodel/mysql_types.go
index e93bfa1eb..a5216fffe 100644
--- a/examples/datamodel/mysql_types.go
+++ b/examples/datamodel/mysql_types.go
@@ -1,9 +1,9 @@
package datamodel
import (
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template/types/form"
)
// GetAllTypesTable return the model of table types.
diff --git a/examples/datamodel/posts.go b/examples/datamodel/posts.go
index 1f558030b..51db35f57 100644
--- a/examples/datamodel/posts.go
+++ b/examples/datamodel/posts.go
@@ -3,13 +3,13 @@ package datamodel
import (
template2 "html/template"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/form"
- editType "github.com/GoAdminGroup/go-admin/template/types/table"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/form"
+ editType "github.com/ChenSee/go-admin/template/types/table"
)
// GetPostsTable return the model of table posts.
diff --git a/examples/datamodel/tables.go b/examples/datamodel/tables.go
index 601bdbee8..14f648ad3 100644
--- a/examples/datamodel/tables.go
+++ b/examples/datamodel/tables.go
@@ -1,6 +1,6 @@
package datamodel
-import "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+import "github.com/ChenSee/go-admin/plugins/admin/modules/table"
// Generators is a map of table models.
//
diff --git a/examples/datamodel/user.go b/examples/datamodel/user.go
index 1de819a39..584095ed7 100644
--- a/examples/datamodel/user.go
+++ b/examples/datamodel/user.go
@@ -3,17 +3,17 @@ package datamodel
import (
"fmt"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- form2 "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/action"
- "github.com/GoAdminGroup/go-admin/template/types/form"
- selection "github.com/GoAdminGroup/go-admin/template/types/form/select"
- editType "github.com/GoAdminGroup/go-admin/template/types/table"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ form2 "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/action"
+ "github.com/ChenSee/go-admin/template/types/form"
+ selection "github.com/ChenSee/go-admin/template/types/form/select"
+ editType "github.com/ChenSee/go-admin/template/types/table"
)
// GetUserTable return the model of table user.
diff --git a/examples/echo/main.go b/examples/echo/main.go
index b5b70280e..af32042d9 100644
--- a/examples/echo/main.go
+++ b/examples/echo/main.go
@@ -6,17 +6,17 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/echo"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- _ "github.com/GoAdminGroup/themes/adminlte"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ _ "github.com/ChenSee/go-admin/adapter/echo"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/goAdminThemes/adminlte"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/labstack/echo/v4"
)
diff --git a/examples/fasthttp/main.go b/examples/fasthttp/main.go
index 200476405..50ee445bd 100644
--- a/examples/fasthttp/main.go
+++ b/examples/fasthttp/main.go
@@ -6,17 +6,17 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/fasthttp"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- _ "github.com/GoAdminGroup/themes/adminlte"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ _ "github.com/ChenSee/go-admin/adapter/fasthttp"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/goAdminThemes/adminlte"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/buaazp/fasthttprouter"
"github.com/valyala/fasthttp"
)
diff --git a/examples/gear/main.go b/examples/gear/main.go
index eb9be4b31..317ac182a 100644
--- a/examples/gear/main.go
+++ b/examples/gear/main.go
@@ -6,19 +6,19 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/gear"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- _ "github.com/GoAdminGroup/themes/sword"
+ _ "github.com/ChenSee/go-admin/adapter/gear"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/goAdminThemes/sword"
"github.com/teambition/gear"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/goAdminThemes/adminlte"
)
func main() {
diff --git a/examples/gf/main.go b/examples/gf/main.go
index df7ee20b6..6fba9d663 100644
--- a/examples/gf/main.go
+++ b/examples/gf/main.go
@@ -6,17 +6,17 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/gf"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/themes/adminlte"
+ _ "github.com/ChenSee/go-admin/adapter/gf"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"github.com/gogf/gf/frame/g"
)
diff --git a/examples/gf2/main.go b/examples/gf2/main.go
index e55f42368..fe8c44bad 100644
--- a/examples/gf2/main.go
+++ b/examples/gf2/main.go
@@ -6,18 +6,18 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/gf2"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
-
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/themes/adminlte"
+ _ "github.com/ChenSee/go-admin/adapter/gf2"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"github.com/gogf/gf/v2/frame/g"
)
diff --git a/examples/gin/main.go b/examples/gin/main.go
index 49512e541..9ab372978 100644
--- a/examples/gin/main.go
+++ b/examples/gin/main.go
@@ -7,18 +7,18 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/gin"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- _ "github.com/GoAdminGroup/themes/sword"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/themes/adminlte"
+ _ "github.com/ChenSee/go-admin/adapter/gin"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/goAdminThemes/sword"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"github.com/gin-gonic/gin"
)
diff --git a/examples/gofiber/main.go b/examples/gofiber/main.go
index c603b9994..a339ba3c4 100644
--- a/examples/gofiber/main.go
+++ b/examples/gofiber/main.go
@@ -6,17 +6,17 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/gofiber"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- _ "github.com/GoAdminGroup/themes/adminlte"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ _ "github.com/ChenSee/go-admin/adapter/gofiber"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/goAdminThemes/adminlte"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/gofiber/fiber/v2"
)
diff --git a/examples/gorilla/main.go b/examples/gorilla/main.go
index f7359fd50..37eb1e176 100644
--- a/examples/gorilla/main.go
+++ b/examples/gorilla/main.go
@@ -7,17 +7,17 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/gorilla"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- _ "github.com/GoAdminGroup/themes/adminlte"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ _ "github.com/ChenSee/go-admin/adapter/gorilla"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/goAdminThemes/adminlte"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/gorilla/mux"
)
diff --git a/examples/iris/main.go b/examples/iris/main.go
index affaacffa..653b77ec9 100644
--- a/examples/iris/main.go
+++ b/examples/iris/main.go
@@ -6,17 +6,17 @@ import (
"os/signal"
"time"
- _ "github.com/GoAdminGroup/go-admin/adapter/iris"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- _ "github.com/GoAdminGroup/themes/adminlte"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/examples/datamodel"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ _ "github.com/ChenSee/go-admin/adapter/iris"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/goAdminThemes/adminlte"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/examples/datamodel"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"github.com/kataras/iris/v12"
)
diff --git a/go.mod b/go.mod
index 29b8458a7..096af11ca 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/GoAdminGroup/go-admin
+module github.com/ChenSee/go-admin
go 1.13
@@ -8,7 +8,7 @@ require (
github.com/GoAdminGroup/html v0.0.1
github.com/NebulousLabs/fastrand v0.0.0-20181203155948-6fb6489aac4e
github.com/denisenkom/go-mssqldb v0.0.0-20200206145737-bbfc9a55622e
- github.com/go-sql-driver/mysql v1.5.0
+ github.com/go-sql-driver/mysql v1.7.1
github.com/google/uuid v1.3.0 // indirect
github.com/jawher/mow.cli v1.2.0 // indirect
github.com/jteeuwen/go-bindata v3.0.7+incompatible // indirect
diff --git a/go.sum b/go.sum
index dc96e2574..2b9458ea4 100644
--- a/go.sum
+++ b/go.sum
@@ -47,6 +47,8 @@ github.com/go-sql-driver/mysql v1.4.1 h1:g24URVg0OFbNUTx9qqY1IRZ9D9z3iPyi5zKhQZp
github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs=
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
+github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
+github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
diff --git a/modules/auth/auth.go b/modules/auth/auth.go
index f587a498f..e6ef465a2 100644
--- a/modules/auth/auth.go
+++ b/modules/auth/auth.go
@@ -7,14 +7,14 @@ package auth
import (
"sync"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
- "github.com/GoAdminGroup/go-admin/modules/logger"
-
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/service"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/modules/logger"
+
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
"golang.org/x/crypto/bcrypt"
)
diff --git a/modules/auth/middleware.go b/modules/auth/middleware.go
index 09e330e6d..e0772b686 100644
--- a/modules/auth/middleware.go
+++ b/modules/auth/middleware.go
@@ -8,17 +8,17 @@ import (
"net/http"
"net/url"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/page"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- template2 "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/constant"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/page"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ template2 "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
// Invoker contains the callback functions which are used
diff --git a/modules/auth/middleware_test.go b/modules/auth/middleware_test.go
index b2e3237a9..bf9823ccb 100644
--- a/modules/auth/middleware_test.go
+++ b/modules/auth/middleware_test.go
@@ -4,8 +4,8 @@ import (
"net/url"
"testing"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/auth/session.go b/modules/auth/session.go
index ecf9e34b9..02a20c15d 100644
--- a/modules/auth/session.go
+++ b/modules/auth/session.go
@@ -10,12 +10,12 @@ import (
"strconv"
"time"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
)
const DefaultCookieKey = "go_admin_session"
diff --git a/modules/config/config.go b/modules/config/config.go
index dd9739f1f..cc200d43b 100644
--- a/modules/config/config.go
+++ b/modules/config/config.go
@@ -17,9 +17,9 @@ import (
"sync/atomic"
"time"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
"gopkg.in/ini.v1"
"gopkg.in/yaml.v2"
)
diff --git a/modules/config/config_test.go b/modules/config/config_test.go
index d644e225f..1a78b63d8 100644
--- a/modules/config/config_test.go
+++ b/modules/config/config_test.go
@@ -5,7 +5,7 @@ import (
"reflect"
"testing"
- "github.com/GoAdminGroup/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/modules/utils"
"github.com/stretchr/testify/assert"
)
@@ -241,7 +241,7 @@ func TestUpdate(t *testing.T) {
"no_limit_login_ip": `false`,
"open_admin_api": `false`,
"operation_log_off": `false`,
- "plugin_file_path": `/go/src/github.com/GoAdminGroup/go-admin/examples/gin/plugins.go`,
+ "plugin_file_path": `/go/src/github.com/ChenSee/go-admin/examples/gin/plugins.go`,
"session_life_time": `7200`,
"site_off": `false`,
"sql_log": `true`,
diff --git a/modules/db/base.go b/modules/db/base.go
index 2f8caf67e..f505749b6 100644
--- a/modules/db/base.go
+++ b/modules/db/base.go
@@ -5,7 +5,7 @@ import (
"errors"
"sync"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/config"
"xorm.io/xorm"
)
diff --git a/modules/db/connection.go b/modules/db/connection.go
index fd77bb064..72f622bce 100644
--- a/modules/db/connection.go
+++ b/modules/db/connection.go
@@ -9,8 +9,8 @@ import (
"fmt"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/service"
)
const (
diff --git a/modules/db/dialect/dialect.go b/modules/db/dialect/dialect.go
index 4d8b2c999..f3c729221 100644
--- a/modules/db/dialect/dialect.go
+++ b/modules/db/dialect/dialect.go
@@ -7,7 +7,7 @@ package dialect
import (
"strings"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/config"
)
// Dialect is methods set of different driver.
diff --git a/modules/db/mssql.go b/modules/db/mssql.go
index a416ce453..ad6a9f181 100644
--- a/modules/db/mssql.go
+++ b/modules/db/mssql.go
@@ -11,7 +11,7 @@ import (
"strconv"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/config"
)
// Mssql is a Connection of mssql.
@@ -121,8 +121,8 @@ func (db *Mssql) handleSqlBeforeExec(query string) string {
return db.parseSql(str)
}
-//将MYSQL的SQL语法转换为MSSQL的语法
-//1.由于mssql不支持limit写法所以需要对mysql中的limit用法做转换
+// 将MYSQL的SQL语法转换为MSSQL的语法
+// 1.由于mssql不支持limit写法所以需要对mysql中的limit用法做转换
func (db *Mssql) parseSql(sql string) string {
//下面的正则表达式匹配出SELECT和INSERT的关键字后分别做不同的处理,如有LIMIT则将LIMIT的关键字也匹配出
patten := `^\s*(?i)(SELECT)|(LIMIT\s*(\d+)\s*,\s*(\d+))`
diff --git a/modules/db/mysql.go b/modules/db/mysql.go
index 57847a34a..3851e6c5b 100644
--- a/modules/db/mysql.go
+++ b/modules/db/mysql.go
@@ -7,7 +7,7 @@ package db
import (
"database/sql"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/config"
)
// SQLTx is an in-progress database transaction.
diff --git a/modules/db/oceanbase.go b/modules/db/oceanbase.go
index 2312b1b15..0d00d4eed 100644
--- a/modules/db/oceanbase.go
+++ b/modules/db/oceanbase.go
@@ -2,7 +2,7 @@ package db
import (
"database/sql"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/config"
)
// OceanBase is a Connection of OceanBase.
diff --git a/modules/db/postgresql.go b/modules/db/postgresql.go
index 14a1b2c76..e75b315bb 100644
--- a/modules/db/postgresql.go
+++ b/modules/db/postgresql.go
@@ -10,7 +10,7 @@ import (
"strconv"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/config"
)
// Postgresql is a Connection of postgresql.
diff --git a/modules/db/sqlite.go b/modules/db/sqlite.go
index e3bd35801..45fa7827d 100644
--- a/modules/db/sqlite.go
+++ b/modules/db/sqlite.go
@@ -7,7 +7,7 @@ package db
import (
"database/sql"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/config"
)
// Sqlite is a Connection of sqlite.
diff --git a/modules/db/statement.go b/modules/db/statement.go
index 2570a9a38..ceeb66a03 100644
--- a/modules/db/statement.go
+++ b/modules/db/statement.go
@@ -12,8 +12,8 @@ import (
"strings"
"sync"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
- "github.com/GoAdminGroup/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/modules/logger"
)
// SQL wraps the Connection and driver dialect methods.
diff --git a/modules/db/statement_mssql_test.go b/modules/db/statement_mssql_test.go
index c35938978..8a542066c 100644
--- a/modules/db/statement_mssql_test.go
+++ b/modules/db/statement_mssql_test.go
@@ -3,8 +3,8 @@ package db
import (
"testing"
- "github.com/GoAdminGroup/go-admin/modules/config"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ "github.com/ChenSee/go-admin/modules/config"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
)
var driverTestMssqlConn Connection
diff --git a/modules/db/statement_mysql_test.go b/modules/db/statement_mysql_test.go
index 309e8bc3b..9766c5952 100644
--- a/modules/db/statement_mysql_test.go
+++ b/modules/db/statement_mysql_test.go
@@ -5,7 +5,7 @@ import (
"os/exec"
"testing"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
)
var driverTestMysqlConn Connection
diff --git a/modules/db/statement_postgresql_test.go b/modules/db/statement_postgresql_test.go
index bc74ce31b..7e1834eee 100644
--- a/modules/db/statement_postgresql_test.go
+++ b/modules/db/statement_postgresql_test.go
@@ -7,7 +7,7 @@ import (
"path"
"testing"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
)
var driverTestPgConn Connection
diff --git a/modules/db/statement_sqlite_test.go b/modules/db/statement_sqlite_test.go
index 87594dfdd..dd79092b6 100644
--- a/modules/db/statement_sqlite_test.go
+++ b/modules/db/statement_sqlite_test.go
@@ -3,8 +3,8 @@ package db
import (
"testing"
- "github.com/GoAdminGroup/go-admin/modules/config"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ "github.com/ChenSee/go-admin/modules/config"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
)
var driverTestSQLiteConn Connection
diff --git a/modules/db/statement_test.go b/modules/db/statement_test.go
index b2f0d4957..3419c3abc 100644
--- a/modules/db/statement_test.go
+++ b/modules/db/statement_test.go
@@ -4,8 +4,8 @@ import (
"database/sql"
"testing"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
"github.com/magiconair/properties/assert"
)
diff --git a/modules/db/types_test.go b/modules/db/types_test.go
index 8fb8926c7..fd0a7823f 100644
--- a/modules/db/types_test.go
+++ b/modules/db/types_test.go
@@ -8,8 +8,8 @@ import (
"testing"
"time"
- "github.com/GoAdminGroup/go-admin/modules/config"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ "github.com/ChenSee/go-admin/modules/config"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
"github.com/magiconair/properties/assert"
)
diff --git a/modules/errors/error.go b/modules/errors/error.go
index cd03ad0f5..453cdc45e 100644
--- a/modules/errors/error.go
+++ b/modules/errors/error.go
@@ -4,8 +4,8 @@ import (
"errors"
"html/template"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/template/icon"
)
var (
diff --git a/modules/file/file.go b/modules/file/file.go
index b95813810..1944835ee 100644
--- a/modules/file/file.go
+++ b/modules/file/file.go
@@ -12,7 +12,7 @@ import (
"path"
"sync"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
)
// Uploader is a file uploader which contains the method Upload.
diff --git a/modules/file/local.go b/modules/file/local.go
index a3692ea36..d2e22d5fe 100644
--- a/modules/file/local.go
+++ b/modules/file/local.go
@@ -7,7 +7,7 @@ package file
import (
"mime/multipart"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/config"
)
// LocalFileUploader is an Uploader of local file engine.
diff --git a/modules/language/language.go b/modules/language/language.go
index 11539fb7a..38e9fe2ea 100644
--- a/modules/language/language.go
+++ b/modules/language/language.go
@@ -8,7 +8,7 @@ import (
"html/template"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/config"
"golang.org/x/text/language"
)
diff --git a/modules/language/language_test.go b/modules/language/language_test.go
index b64d9ada2..e5ad709d7 100644
--- a/modules/language/language_test.go
+++ b/modules/language/language_test.go
@@ -4,7 +4,7 @@ import (
"html/template"
"testing"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/config"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/logger/logger.go b/modules/logger/logger.go
index 188ffb1aa..99be8d927 100644
--- a/modules/logger/logger.go
+++ b/modules/logger/logger.go
@@ -9,8 +9,8 @@ import (
"path/filepath"
"strconv"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/utils"
"github.com/mgutz/ansi"
"github.com/natefinch/lumberjack"
"go.uber.org/zap"
diff --git a/modules/menu/menu.go b/modules/menu/menu.go
index aa78964fa..c8589d555 100644
--- a/modules/menu/menu.go
+++ b/modules/menu/menu.go
@@ -10,11 +10,11 @@ import (
"strconv"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
)
// Item is an menu item.
diff --git a/modules/page/page.go b/modules/page/page.go
index e2866603b..0e37f7a75 100644
--- a/modules/page/page.go
+++ b/modules/page/page.go
@@ -7,14 +7,14 @@ package page
import (
"bytes"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
// SetPageContent set and return the panel of page content.
diff --git a/modules/remote_server/remote_server.go b/modules/remote_server/remote_server.go
index d34e6be56..90a2f6f67 100644
--- a/modules/remote_server/remote_server.go
+++ b/modules/remote_server/remote_server.go
@@ -6,9 +6,9 @@ import (
"net/http"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/system"
+ "github.com/ChenSee/go-admin/modules/system"
- "github.com/GoAdminGroup/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/logger"
)
const (
diff --git a/modules/system/application.go b/modules/system/application.go
index e22aa13cf..0dc895381 100644
--- a/modules/system/application.go
+++ b/modules/system/application.go
@@ -5,9 +5,9 @@ import (
"runtime"
"time"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/utils"
)
var (
diff --git a/modules/ui/ui.go b/modules/ui/ui.go
index 5d8bd194b..2e2986bd5 100644
--- a/modules/ui/ui.go
+++ b/modules/ui/ui.go
@@ -1,12 +1,12 @@
package ui
import (
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/service"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/action"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/action"
)
type Service struct {
diff --git a/plugins/admin/admin.go b/plugins/admin/admin.go
index a2631a65a..9f7091656 100644
--- a/plugins/admin/admin.go
+++ b/plugins/admin/admin.go
@@ -1,18 +1,18 @@
package admin
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/service"
- "github.com/GoAdminGroup/go-admin/modules/system"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/controller"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/guard"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/action"
- _ "github.com/GoAdminGroup/go-admin/template/types/display"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/modules/system"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/controller"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/guard"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/action"
+ _ "github.com/ChenSee/go-admin/template/types/display"
)
// Admin is a GoAdmin plugin.
diff --git a/plugins/admin/controller/Update.go b/plugins/admin/controller/Update.go
index 7e6f31c4d..daee29a15 100644
--- a/plugins/admin/controller/Update.go
+++ b/plugins/admin/controller/Update.go
@@ -1,9 +1,9 @@
package controller
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/guard"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/guard"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
)
// Update update the table row of given id.
diff --git a/plugins/admin/controller/api_create.go b/plugins/admin/controller/api_create.go
index 71c09a957..34eea56e6 100644
--- a/plugins/admin/controller/api_create.go
+++ b/plugins/admin/controller/api_create.go
@@ -1,11 +1,11 @@
package controller
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/file"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/guard"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/file"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/guard"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
)
func (h *Handler) ApiCreate(ctx *context.Context) {
diff --git a/plugins/admin/controller/api_detail.go b/plugins/admin/controller/api_detail.go
index c22b3b595..d75e94d99 100644
--- a/plugins/admin/controller/api_detail.go
+++ b/plugins/admin/controller/api_detail.go
@@ -3,15 +3,15 @@ package controller
import (
"fmt"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/form"
)
func (h *Handler) ApiDetail(ctx *context.Context) {
diff --git a/plugins/admin/controller/api_list.go b/plugins/admin/controller/api_list.go
index 0ece61e86..d6037d48a 100644
--- a/plugins/admin/controller/api_list.go
+++ b/plugins/admin/controller/api_list.go
@@ -1,10 +1,10 @@
package controller
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
)
func (h *Handler) ApiList(ctx *context.Context) {
diff --git a/plugins/admin/controller/api_update.go b/plugins/admin/controller/api_update.go
index ce6c502b4..ee4d0813b 100644
--- a/plugins/admin/controller/api_update.go
+++ b/plugins/admin/controller/api_update.go
@@ -3,14 +3,14 @@ package controller
import (
"net/url"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/file"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/guard"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/file"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/guard"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/template/types/form"
)
func (h *Handler) ApiUpdate(ctx *context.Context) {
diff --git a/plugins/admin/controller/auth.go b/plugins/admin/controller/auth.go
index 23c8a7888..ced4c0d2c 100644
--- a/plugins/admin/controller/auth.go
+++ b/plugins/admin/controller/auth.go
@@ -6,17 +6,17 @@ import (
"net/http"
"net/url"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/system"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/captcha"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/system"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/captcha"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
// Auth check the input password and username for authentication.
diff --git a/plugins/admin/controller/common.go b/plugins/admin/controller/common.go
index 4832c4f12..852b37dbd 100644
--- a/plugins/admin/controller/common.go
+++ b/plugins/admin/controller/common.go
@@ -8,22 +8,22 @@ import (
"strings"
"sync"
- "github.com/GoAdminGroup/go-admin/template/types/action"
-
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- c "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/modules/service"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/action"
+
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ c "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
)
type Handler struct {
diff --git a/plugins/admin/controller/delete.go b/plugins/admin/controller/delete.go
index 8d1552ffd..2fca0f1f0 100644
--- a/plugins/admin/controller/delete.go
+++ b/plugins/admin/controller/delete.go
@@ -1,10 +1,10 @@
package controller
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/guard"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/guard"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
)
// Delete delete the row from database.
diff --git a/plugins/admin/controller/detail.go b/plugins/admin/controller/detail.go
index 0d84e5c8f..f5fff0a00 100644
--- a/plugins/admin/controller/detail.go
+++ b/plugins/admin/controller/detail.go
@@ -3,16 +3,16 @@ package controller
import (
"fmt"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- form2 "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ form2 "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/form"
)
func (h *Handler) ShowDetail(ctx *context.Context) {
diff --git a/plugins/admin/controller/edit.go b/plugins/admin/controller/edit.go
index 1a6e1ca4d..3c3f2327d 100644
--- a/plugins/admin/controller/edit.go
+++ b/plugins/admin/controller/edit.go
@@ -6,23 +6,23 @@ import (
"net/http"
"net/url"
- "github.com/GoAdminGroup/go-admin/modules/logger"
-
- "github.com/GoAdminGroup/go-admin/template"
-
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
-
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/file"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- form2 "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/guard"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/modules/logger"
+
+ "github.com/ChenSee/go-admin/template"
+
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
+
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/file"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ form2 "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/guard"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/form"
)
// ShowForm show form page.
diff --git a/plugins/admin/controller/handler.go b/plugins/admin/controller/handler.go
index 5935b8925..6e7465d09 100644
--- a/plugins/admin/controller/handler.go
+++ b/plugins/admin/controller/handler.go
@@ -5,17 +5,17 @@ import (
"regexp"
"strings"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
// GlobalDeferHandler is a global error handler of admin plugin.
diff --git a/plugins/admin/controller/install.go b/plugins/admin/controller/install.go
index 21e3cbd10..0bb952f09 100644
--- a/plugins/admin/controller/install.go
+++ b/plugins/admin/controller/install.go
@@ -5,8 +5,8 @@ import (
"database/sql"
"net/http"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
)
// ShowInstall show install page.
diff --git a/plugins/admin/controller/menu.go b/plugins/admin/controller/menu.go
index 91352d22a..713461226 100644
--- a/plugins/admin/controller/menu.go
+++ b/plugins/admin/controller/menu.go
@@ -5,21 +5,21 @@ import (
template2 "html/template"
"net/url"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- form2 "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/guard"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ form2 "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/guard"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
// ShowMenu show menu info page.
diff --git a/plugins/admin/controller/new.go b/plugins/admin/controller/new.go
index 4d840a1c9..d1a8d69a5 100644
--- a/plugins/admin/controller/new.go
+++ b/plugins/admin/controller/new.go
@@ -5,21 +5,21 @@ import (
template2 "html/template"
"net/http"
- "github.com/GoAdminGroup/go-admin/template"
+ "github.com/ChenSee/go-admin/template"
- "github.com/GoAdminGroup/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/file"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- form2 "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/guard"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/file"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ form2 "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/guard"
+ "github.com/ChenSee/go-admin/template/types"
)
// ShowNewForm show a new form page.
diff --git a/plugins/admin/controller/operation.go b/plugins/admin/controller/operation.go
index d1ef2e6a2..2a4f021d7 100644
--- a/plugins/admin/controller/operation.go
+++ b/plugins/admin/controller/operation.go
@@ -3,11 +3,11 @@ package controller
import (
"encoding/json"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
)
func (h *Handler) Operation(ctx *context.Context) {
diff --git a/plugins/admin/controller/plugins.go b/plugins/admin/controller/plugins.go
index 390e9147b..6288d956f 100644
--- a/plugins/admin/controller/plugins.go
+++ b/plugins/admin/controller/plugins.go
@@ -11,22 +11,22 @@ import (
"strings"
"time"
- "github.com/GoAdminGroup/go-admin/modules/system"
-
- "github.com/GoAdminGroup/go-admin/modules/logger"
-
- "github.com/GoAdminGroup/go-admin/modules/config"
-
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/remote_server"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/guard"
- template2 "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/modules/system"
+
+ "github.com/ChenSee/go-admin/modules/logger"
+
+ "github.com/ChenSee/go-admin/modules/config"
+
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/remote_server"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/guard"
+ template2 "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/form"
"github.com/GoAdminGroup/html"
"github.com/gin-gonic/gin"
)
diff --git a/plugins/admin/controller/plugins_tmpl.go b/plugins/admin/controller/plugins_tmpl.go
index 1a3920c8b..a9edf571e 100644
--- a/plugins/admin/controller/plugins_tmpl.go
+++ b/plugins/admin/controller/plugins_tmpl.go
@@ -4,10 +4,10 @@ import (
"bytes"
"html/template"
- "github.com/GoAdminGroup/go-admin/modules/remote_server"
+ "github.com/ChenSee/go-admin/modules/remote_server"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/logger"
)
func GetPluginsPageJS(data PluginsPageJSData) template.JS {
diff --git a/plugins/admin/controller/show.go b/plugins/admin/controller/show.go
index 303906ae4..0262eda4b 100644
--- a/plugins/admin/controller/show.go
+++ b/plugins/admin/controller/show.go
@@ -13,22 +13,22 @@ import (
"time"
"github.com/360EntSecGroup-Skylar/excelize"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/guard"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/action"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/guard"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/action"
"github.com/GoAdminGroup/html"
)
diff --git a/plugins/admin/controller/system.go b/plugins/admin/controller/system.go
index 82d1ab337..3da50e9b0 100644
--- a/plugins/admin/controller/system.go
+++ b/plugins/admin/controller/system.go
@@ -6,11 +6,11 @@ import (
"os"
"runtime"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/system"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/system"
+ "github.com/ChenSee/go-admin/template/types"
)
func (h *Handler) SystemInfo(ctx *context.Context) {
diff --git a/plugins/admin/models/base.go b/plugins/admin/models/base.go
index f8a1bf86e..6c5808528 100644
--- a/plugins/admin/models/base.go
+++ b/plugins/admin/models/base.go
@@ -3,7 +3,7 @@ package models
import (
"database/sql"
- "github.com/GoAdminGroup/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db"
)
// Base is base model structure.
diff --git a/plugins/admin/models/menu.go b/plugins/admin/models/menu.go
index 6ada638d8..6d86efe6d 100644
--- a/plugins/admin/models/menu.go
+++ b/plugins/admin/models/menu.go
@@ -5,8 +5,8 @@ import (
"strconv"
"time"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
)
// MenuModel is menu model structure.
diff --git a/plugins/admin/models/operation_log.go b/plugins/admin/models/operation_log.go
index f19e72150..33d78d478 100644
--- a/plugins/admin/models/operation_log.go
+++ b/plugins/admin/models/operation_log.go
@@ -1,8 +1,8 @@
package models
import (
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
)
// OperationLogModel is operation log model structure.
diff --git a/plugins/admin/models/permission.go b/plugins/admin/models/permission.go
index 3d4431fc2..17f5cd715 100644
--- a/plugins/admin/models/permission.go
+++ b/plugins/admin/models/permission.go
@@ -4,7 +4,7 @@ import (
"strconv"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db"
)
// PermissionModel is permission model structure.
diff --git a/plugins/admin/models/role.go b/plugins/admin/models/role.go
index 15a45f0b9..d5148d1f7 100644
--- a/plugins/admin/models/role.go
+++ b/plugins/admin/models/role.go
@@ -5,8 +5,8 @@ import (
"strconv"
"time"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
)
// RoleModel is role model structure.
diff --git a/plugins/admin/models/site.go b/plugins/admin/models/site.go
index 5b4dc3ee4..d52d0bb89 100644
--- a/plugins/admin/models/site.go
+++ b/plugins/admin/models/site.go
@@ -3,12 +3,12 @@ package models
import (
"database/sql"
- "github.com/GoAdminGroup/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/modules/collection"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/modules/collection"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
)
// SiteModel is role model structure.
diff --git a/plugins/admin/models/user.go b/plugins/admin/models/user.go
index b2af151be..bff3485de 100644
--- a/plugins/admin/models/user.go
+++ b/plugins/admin/models/user.go
@@ -3,17 +3,18 @@ package models
import (
"database/sql"
"net/url"
+ "reflect"
"regexp"
"strconv"
"strings"
"time"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
)
// UserModel is user model structure.
@@ -339,17 +340,32 @@ func (t UserModel) WithMenus() UserModel {
}
var menuIds []int64
+ var midInt int
+ var mid2Int int
+ var mInt int
for _, mid := range menuIdsModel {
- if parentId, ok := mid["parent_id"].(int64); ok && parentId != 0 {
+ if reflect.TypeOf(mid["parent_id"]).String() == "[]uint8" {
+ midInt, _ = strconv.Atoi(string(mid["parent_id"].([]uint8)))
+ mInt, _ = strconv.Atoi(string(mid["menu_id"].([]uint8)))
+ } else {
+ midInt = int(mid["parent_id"].(int64))
+ mInt = int(mid["menu_id"].(int64))
+ }
+ if midInt != 0 {
for _, mid2 := range menuIdsModel {
- if mid2["menu_id"].(int64) == mid["parent_id"].(int64) {
- menuIds = append(menuIds, mid["menu_id"].(int64))
+ if reflect.TypeOf(mid2["menu_id"]).String() == "[]uint8" {
+ mid2Int, _ = strconv.Atoi(string(mid2["menu_id"].([]uint8)))
+ } else {
+ mid2Int = int(mid2["menu_id"].(int64))
+ }
+ if mid2Int == midInt {
+ menuIds = append(menuIds, int64(mInt))
break
}
}
} else {
- menuIds = append(menuIds, mid["menu_id"].(int64))
+ menuIds = append(menuIds, int64(mInt))
}
}
diff --git a/plugins/admin/modules/constant/constant.go b/plugins/admin/modules/constant/constant.go
index c320cd1e2..f1c822640 100644
--- a/plugins/admin/modules/constant/constant.go
+++ b/plugins/admin/modules/constant/constant.go
@@ -1,7 +1,7 @@
package constant
import (
- "github.com/GoAdminGroup/go-admin/modules/constant"
+ "github.com/ChenSee/go-admin/modules/constant"
)
const (
diff --git a/plugins/admin/modules/guard/delete.go b/plugins/admin/modules/guard/delete.go
index 7fa2adb0b..88ce0091b 100644
--- a/plugins/admin/modules/guard/delete.go
+++ b/plugins/admin/modules/guard/delete.go
@@ -1,9 +1,9 @@
package guard
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
)
type DeleteParam struct {
diff --git a/plugins/admin/modules/guard/edit.go b/plugins/admin/modules/guard/edit.go
index 120dca238..155c1c242 100644
--- a/plugins/admin/modules/guard/edit.go
+++ b/plugins/admin/modules/guard/edit.go
@@ -6,19 +6,19 @@ import (
"regexp"
"strings"
- "github.com/GoAdminGroup/go-admin/template/types"
-
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
+
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
)
type ShowFormParam struct {
diff --git a/plugins/admin/modules/guard/export.go b/plugins/admin/modules/guard/export.go
index 71822e8e4..f2e300e2d 100644
--- a/plugins/admin/modules/guard/export.go
+++ b/plugins/admin/modules/guard/export.go
@@ -3,9 +3,9 @@ package guard
import (
"strings"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
)
type ExportParam struct {
diff --git a/plugins/admin/modules/guard/guard.go b/plugins/admin/modules/guard/guard.go
index 63a624e0b..6182e2749 100644
--- a/plugins/admin/modules/guard/guard.go
+++ b/plugins/admin/modules/guard/guard.go
@@ -1,15 +1,15 @@
package guard
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/service"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
type Guard struct {
diff --git a/plugins/admin/modules/guard/menu_delete.go b/plugins/admin/modules/guard/menu_delete.go
index 4d2d75aa5..f438cb842 100644
--- a/plugins/admin/modules/guard/menu_delete.go
+++ b/plugins/admin/modules/guard/menu_delete.go
@@ -1,8 +1,8 @@
package guard
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/errors"
)
type MenuDeleteParam struct {
diff --git a/plugins/admin/modules/guard/menu_edit.go b/plugins/admin/modules/guard/menu_edit.go
index 020f3f7b6..813451536 100644
--- a/plugins/admin/modules/guard/menu_edit.go
+++ b/plugins/admin/modules/guard/menu_edit.go
@@ -4,10 +4,10 @@ import (
"html/template"
"strconv"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
)
type MenuEditParam struct {
diff --git a/plugins/admin/modules/guard/menu_new.go b/plugins/admin/modules/guard/menu_new.go
index 34a1eb949..ae36674da 100644
--- a/plugins/admin/modules/guard/menu_new.go
+++ b/plugins/admin/modules/guard/menu_new.go
@@ -4,10 +4,10 @@ import (
"html/template"
"strconv"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
)
type MenuNewParam struct {
diff --git a/plugins/admin/modules/guard/new.go b/plugins/admin/modules/guard/new.go
index f83c7a8fe..89e567a8e 100644
--- a/plugins/admin/modules/guard/new.go
+++ b/plugins/admin/modules/guard/new.go
@@ -5,15 +5,15 @@ import (
"mime/multipart"
"strings"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
)
type ShowNewFormParam struct {
diff --git a/plugins/admin/modules/guard/server_login.go b/plugins/admin/modules/guard/server_login.go
index 5207531d0..f1af7d798 100644
--- a/plugins/admin/modules/guard/server_login.go
+++ b/plugins/admin/modules/guard/server_login.go
@@ -4,8 +4,8 @@ import (
"encoding/json"
"io/ioutil"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/logger"
)
type ServerLoginParam struct {
diff --git a/plugins/admin/modules/guard/update.go b/plugins/admin/modules/guard/update.go
index 11216598d..4c7807d74 100644
--- a/plugins/admin/modules/guard/update.go
+++ b/plugins/admin/modules/guard/update.go
@@ -3,9 +3,9 @@ package guard
import (
"net/http"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
)
type UpdateParam struct {
diff --git a/plugins/admin/modules/paginator/paginator.go b/plugins/admin/modules/paginator/paginator.go
index d3054ee3c..5e1233e2b 100644
--- a/plugins/admin/modules/paginator/paginator.go
+++ b/plugins/admin/modules/paginator/paginator.go
@@ -6,12 +6,12 @@ import (
"math"
"strconv"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- template2 "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/components"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ template2 "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/components"
+ "github.com/ChenSee/go-admin/template/types"
)
type Config struct {
diff --git a/plugins/admin/modules/paginator/paginator_test.go b/plugins/admin/modules/paginator/paginator_test.go
index bb54ba395..7df488b70 100644
--- a/plugins/admin/modules/paginator/paginator_test.go
+++ b/plugins/admin/modules/paginator/paginator_test.go
@@ -3,9 +3,9 @@ package paginator
import (
"testing"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- _ "github.com/GoAdminGroup/themes/sword"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ _ "github.com/ChenSee/goAdminThemes/sword"
)
func TestGet(t *testing.T) {
diff --git a/plugins/admin/modules/parameter/parameter.go b/plugins/admin/modules/parameter/parameter.go
index 1169404e2..08358fef1 100644
--- a/plugins/admin/modules/parameter/parameter.go
+++ b/plugins/admin/modules/parameter/parameter.go
@@ -5,9 +5,9 @@ import (
"strconv"
"strings"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
)
type Parameters struct {
diff --git a/plugins/admin/modules/response/response.go b/plugins/admin/modules/response/response.go
index 33706a46d..3e060f0d0 100644
--- a/plugins/admin/modules/response/response.go
+++ b/plugins/admin/modules/response/response.go
@@ -3,15 +3,15 @@ package response
import (
"net/http"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
func Ok(ctx *context.Context) {
diff --git a/plugins/admin/modules/table/config.go b/plugins/admin/modules/table/config.go
index 4d4da008b..6c8724aea 100644
--- a/plugins/admin/modules/table/config.go
+++ b/plugins/admin/modules/table/config.go
@@ -1,7 +1,7 @@
package table
import (
- "github.com/GoAdminGroup/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db"
)
type Config struct {
diff --git a/plugins/admin/modules/table/default.go b/plugins/admin/modules/table/default.go
index 685307fdc..0164d3efd 100644
--- a/plugins/admin/modules/table/default.go
+++ b/plugins/admin/modules/table/default.go
@@ -11,19 +11,19 @@ import (
"strings"
"time"
- "github.com/GoAdminGroup/go-admin/modules/config"
-
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
- errs "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/paginator"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/modules/config"
+
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
+ errs "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/paginator"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/template/types"
)
// DefaultTable is an implementation of table.Table
diff --git a/plugins/admin/modules/table/generators.go b/plugins/admin/modules/table/generators.go
index 40b76ea45..db6c8b765 100644
--- a/plugins/admin/modules/table/generators.go
+++ b/plugins/admin/modules/table/generators.go
@@ -11,25 +11,25 @@ import (
"strings"
"time"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/collection"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
- errs "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/ui"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- form2 "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/tools"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/action"
- "github.com/GoAdminGroup/go-admin/template/types/form"
- selection "github.com/GoAdminGroup/go-admin/template/types/form/select"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/collection"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
+ errs "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/ui"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ form2 "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/tools"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/action"
+ "github.com/ChenSee/go-admin/template/types/form"
+ selection "github.com/ChenSee/go-admin/template/types/form/select"
"github.com/GoAdminGroup/html"
"golang.org/x/crypto/bcrypt"
)
@@ -1460,10 +1460,10 @@ func (s *SystemTable) GetGenerateForm(ctx *context.Context) (generateTool Table)
{Text: "time", Value: "time"},
{Text: "log", Value: "log"},
{Text: "fmt", Value: "fmt"},
- {Text: "github.com/GoAdminGroup/go-admin/modules/db/dialect", Value: "github.com/GoAdminGroup/go-admin/modules/db/dialect"},
- {Text: "github.com/GoAdminGroup/go-admin/modules/db", Value: "github.com/GoAdminGroup/go-admin/modules/db"},
- {Text: "github.com/GoAdminGroup/go-admin/modules/language", Value: "github.com/GoAdminGroup/go-admin/modules/language"},
- {Text: "github.com/GoAdminGroup/go-admin/modules/logger", Value: "github.com/GoAdminGroup/go-admin/modules/logger"},
+ {Text: "github.com/ChenSee/go-admin/modules/db/dialect", Value: "github.com/ChenSee/go-admin/modules/db/dialect"},
+ {Text: "github.com/ChenSee/go-admin/modules/db", Value: "github.com/ChenSee/go-admin/modules/db"},
+ {Text: "github.com/ChenSee/go-admin/modules/language", Value: "github.com/ChenSee/go-admin/modules/language"},
+ {Text: "github.com/ChenSee/go-admin/modules/logger", Value: "github.com/ChenSee/go-admin/modules/logger"},
}).
FieldDefault("").
FieldOptionExt(map[string]interface{}{
diff --git a/plugins/admin/modules/table/table.go b/plugins/admin/modules/table/table.go
index 48784fed6..f4a40018d 100644
--- a/plugins/admin/modules/table/table.go
+++ b/plugins/admin/modules/table/table.go
@@ -5,13 +5,13 @@ import (
"sync"
"sync/atomic"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/service"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/paginator"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/paginator"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/template/types"
)
type Generator func(ctx *context.Context) Table
diff --git a/plugins/admin/modules/tools/generator.go b/plugins/admin/modules/tools/generator.go
index 219666e88..80163c243 100644
--- a/plugins/admin/modules/tools/generator.go
+++ b/plugins/admin/modules/tools/generator.go
@@ -10,12 +10,12 @@ import (
"strings"
"text/template"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
- "github.com/GoAdminGroup/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/template/types/form"
)
type Param struct {
@@ -351,7 +351,7 @@ func GenerateTables(outputPath, packageName string, tables []string, isNew bool)
content = fmt.Sprintf(`// This file is generated by GoAdmin CLI adm.
package %s
-import "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+import "github.com/ChenSee/go-admin/plugins/admin/modules/table"
// The key of Generators is the prefix of table info url.
// The corresponding value is the Form and Table data.
diff --git a/plugins/admin/modules/tools/template.go b/plugins/admin/modules/tools/template.go
index bf6428a1a..97172ff68 100644
--- a/plugins/admin/modules/tools/template.go
+++ b/plugins/admin/modules/tools/template.go
@@ -5,10 +5,10 @@ package {{.Package}}
import (
{{.ExtraImport}}
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template/types/form"
)
func Get{{.TableTitle}}Table(ctx *context.Context) table.Table {
diff --git a/plugins/admin/router.go b/plugins/admin/router.go
index 97e412204..e5136c95e 100644
--- a/plugins/admin/router.go
+++ b/plugins/admin/router.go
@@ -1,12 +1,12 @@
package admin
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/response"
- "github.com/GoAdminGroup/go-admin/template"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/response"
+ "github.com/ChenSee/go-admin/template"
)
// initRouter initialize the router and return the context.
diff --git a/plugins/example/controller.go b/plugins/example/controller.go
index 73ef9e08e..ff31838c0 100644
--- a/plugins/example/controller.go
+++ b/plugins/example/controller.go
@@ -3,18 +3,18 @@ package example
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/page"
- template2 "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/themes/adminlte/components/chart_legend"
- "github.com/GoAdminGroup/themes/adminlte/components/description"
- "github.com/GoAdminGroup/themes/adminlte/components/infobox"
- "github.com/GoAdminGroup/themes/adminlte/components/productlist"
- "github.com/GoAdminGroup/themes/adminlte/components/progress_group"
- "github.com/GoAdminGroup/themes/adminlte/components/smallbox"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/page"
+ template2 "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/chart_legend"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/description"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/infobox"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/productlist"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/progress_group"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/smallbox"
)
func (e *Example) TestHandler(ctx *context.Context) {
diff --git a/plugins/example/example.go b/plugins/example/example.go
index 6f5411a7c..a1bc31cc7 100644
--- a/plugins/example/example.go
+++ b/plugins/example/example.go
@@ -1,9 +1,9 @@
package example
import (
- c "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/service"
- "github.com/GoAdminGroup/go-admin/plugins"
+ c "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/plugins"
)
type Example struct {
diff --git a/plugins/example/go_plugin/main.go b/plugins/example/go_plugin/main.go
index 6596d7f70..bc4f47b15 100644
--- a/plugins/example/go_plugin/main.go
+++ b/plugins/example/go_plugin/main.go
@@ -1,12 +1,12 @@
package main
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- c "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/service"
- "github.com/GoAdminGroup/go-admin/plugins"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ c "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/plugins"
)
type Example struct {
diff --git a/plugins/example/router.go b/plugins/example/router.go
index cecb95eaf..5a2c3095d 100644
--- a/plugins/example/router.go
+++ b/plugins/example/router.go
@@ -1,10 +1,10 @@
package example
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/service"
)
func (e *Example) initRouter(prefix string, srv service.List) *context.App {
diff --git a/plugins/plugins.go b/plugins/plugins.go
index 8cbd061a1..51bcfb8de 100644
--- a/plugins/plugins.go
+++ b/plugins/plugins.go
@@ -13,24 +13,24 @@ import (
"plugin"
"time"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types/action"
-
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/modules/remote_server"
- "github.com/GoAdminGroup/go-admin/modules/service"
- "github.com/GoAdminGroup/go-admin/modules/ui"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types/action"
+
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/modules/remote_server"
+ "github.com/ChenSee/go-admin/modules/service"
+ "github.com/ChenSee/go-admin/modules/ui"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
// Plugin as one of the key components of goAdmin has three
diff --git a/template/chartjs/bar.go b/template/chartjs/bar.go
index dcd8b4af0..3d53f6c9b 100644
--- a/template/chartjs/bar.go
+++ b/template/chartjs/bar.go
@@ -6,7 +6,7 @@ import (
"fmt"
"html/template"
- template2 "github.com/GoAdminGroup/go-admin/template"
+ template2 "github.com/ChenSee/go-admin/template"
)
type BarChart struct {
diff --git a/template/chartjs/chart.go b/template/chartjs/chart.go
index 637c773a1..333851b7f 100644
--- a/template/chartjs/chart.go
+++ b/template/chartjs/chart.go
@@ -3,7 +3,7 @@ package chartjs
import (
"html/template"
- template2 "github.com/GoAdminGroup/go-admin/template"
+ template2 "github.com/ChenSee/go-admin/template"
)
type Chart struct {
diff --git a/template/chartjs/line.go b/template/chartjs/line.go
index a49a214f0..a62d66d74 100644
--- a/template/chartjs/line.go
+++ b/template/chartjs/line.go
@@ -6,7 +6,7 @@ import (
"fmt"
"html/template"
- template2 "github.com/GoAdminGroup/go-admin/template"
+ template2 "github.com/ChenSee/go-admin/template"
)
type LineChart struct {
diff --git a/template/chartjs/pie.go b/template/chartjs/pie.go
index 0e5605f9d..81c9276e4 100644
--- a/template/chartjs/pie.go
+++ b/template/chartjs/pie.go
@@ -6,7 +6,7 @@ import (
"fmt"
"html/template"
- template2 "github.com/GoAdminGroup/go-admin/template"
+ template2 "github.com/ChenSee/go-admin/template"
)
type PieChart struct {
diff --git a/template/components/alert.go b/template/components/alert.go
index 93afbfcd2..2413dd496 100644
--- a/template/components/alert.go
+++ b/template/components/alert.go
@@ -3,9 +3,9 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/template/types"
)
type AlertAttribute struct {
diff --git a/template/components/base.go b/template/components/base.go
index 17648ad22..488535782 100644
--- a/template/components/base.go
+++ b/template/components/base.go
@@ -3,10 +3,10 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/form"
)
type Base struct {
diff --git a/template/components/box.go b/template/components/box.go
index e055aff8e..83d99d32e 100644
--- a/template/components/box.go
+++ b/template/components/box.go
@@ -4,7 +4,7 @@ import (
"fmt"
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type BoxAttribute struct {
diff --git a/template/components/button.go b/template/components/button.go
index 204ceef11..19eda672f 100644
--- a/template/components/button.go
+++ b/template/components/button.go
@@ -4,10 +4,10 @@ import (
"fmt"
"html/template"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
)
type ButtonAttribute struct {
diff --git a/template/components/col.go b/template/components/col.go
index b56846e1e..6bf1a27ed 100644
--- a/template/components/col.go
+++ b/template/components/col.go
@@ -3,7 +3,7 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type ColAttribute struct {
diff --git a/template/components/composer.go b/template/components/composer.go
index 45eb00282..12d4940a2 100644
--- a/template/components/composer.go
+++ b/template/components/composer.go
@@ -4,10 +4,10 @@ import (
"bytes"
"html/template"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- template2 "github.com/GoAdminGroup/go-admin/template"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/utils"
+ template2 "github.com/ChenSee/go-admin/template"
)
func ComposeHtml(temList map[string]string, separation bool, compo interface{}, templateName ...string) template.HTML {
diff --git a/template/components/form.go b/template/components/form.go
index 9a550b72f..8f381341a 100644
--- a/template/components/form.go
+++ b/template/components/form.go
@@ -5,12 +5,12 @@ import (
"html/template"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- form2 "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/utils"
+ form2 "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/form"
)
type FormAttribute struct {
diff --git a/template/components/image.go b/template/components/image.go
index 679c22984..e3cb4bfac 100644
--- a/template/components/image.go
+++ b/template/components/image.go
@@ -3,8 +3,8 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/template/types"
)
type ImgAttribute struct {
diff --git a/template/components/label.go b/template/components/label.go
index 831530d7d..94582155e 100644
--- a/template/components/label.go
+++ b/template/components/label.go
@@ -3,7 +3,7 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type LabelAttribute struct {
diff --git a/template/components/link.go b/template/components/link.go
index 63466d821..97dd9b12f 100644
--- a/template/components/link.go
+++ b/template/components/link.go
@@ -3,7 +3,7 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type LinkAttribute struct {
diff --git a/template/components/paninator.go b/template/components/paninator.go
index 62fd768f9..8082c2205 100644
--- a/template/components/paninator.go
+++ b/template/components/paninator.go
@@ -3,7 +3,7 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type PaginatorAttribute struct {
diff --git a/template/components/popup.go b/template/components/popup.go
index b1c2c792e..3b58c6e04 100644
--- a/template/components/popup.go
+++ b/template/components/popup.go
@@ -3,7 +3,7 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type PopupAttribute struct {
diff --git a/template/components/row.go b/template/components/row.go
index e496e0b8c..5d06c6440 100644
--- a/template/components/row.go
+++ b/template/components/row.go
@@ -3,7 +3,7 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type RowAttribute struct {
diff --git a/template/components/table.go b/template/components/table.go
index 278702d26..aeea09ec5 100644
--- a/template/components/table.go
+++ b/template/components/table.go
@@ -3,7 +3,7 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type TableAttribute struct {
diff --git a/template/components/tabs.go b/template/components/tabs.go
index 170b019b8..1fbb2851c 100644
--- a/template/components/tabs.go
+++ b/template/components/tabs.go
@@ -3,7 +3,7 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type TabsAttribute struct {
diff --git a/template/components/tree.go b/template/components/tree.go
index 9b110ab6f..47b0a48e4 100644
--- a/template/components/tree.go
+++ b/template/components/tree.go
@@ -3,8 +3,8 @@ package components
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/template/types"
)
type TreeAttribute struct {
diff --git a/template/components/treeview.go b/template/components/treeview.go
index cc265da73..9acfd1282 100644
--- a/template/components/treeview.go
+++ b/template/components/treeview.go
@@ -4,8 +4,8 @@ import (
"encoding/json"
"html/template"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/template/types"
)
type TreeViewAttribute struct {
diff --git a/template/installation/installation.go b/template/installation/installation.go
index 9db54d07e..edc94d9f9 100644
--- a/template/installation/installation.go
+++ b/template/installation/installation.go
@@ -6,8 +6,8 @@ import (
"html/template"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/logger"
)
type Installation struct {
diff --git a/template/login/login.go b/template/login/login.go
index 8e7c6db05..8c7606c8e 100644
--- a/template/login/login.go
+++ b/template/login/login.go
@@ -5,10 +5,10 @@ import (
"html/template"
"strings"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/logger"
)
type Login struct {
diff --git a/template/template.go b/template/template.go
index 9acd0201b..4b35578cd 100644
--- a/template/template.go
+++ b/template/template.go
@@ -14,16 +14,16 @@ import (
"strings"
"sync"
- c "github.com/GoAdminGroup/go-admin/modules/config"
- errors2 "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/modules/system"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
- "github.com/GoAdminGroup/go-admin/template/login"
- "github.com/GoAdminGroup/go-admin/template/types"
+ c "github.com/ChenSee/go-admin/modules/config"
+ errors2 "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/modules/system"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/template/login"
+ "github.com/ChenSee/go-admin/template/types"
)
// Template is the interface which contains methods of ui components.
@@ -265,8 +265,8 @@ type Component interface {
// {{.UrlPrefix}}/assets/login/css/bootstrap.min.css => login/css/bootstrap.min.css
//
// See:
- // https://github.com/GoAdminGroup/go-admin/blob/master/template/login/theme1.tmpl#L32
- // https://github.com/GoAdminGroup/go-admin/blob/master/template/login/list.go
+ // https://github.com/ChenSee/go-admin/blob/master/template/login/theme1.tmpl#L32
+ // https://github.com/ChenSee/go-admin/blob/master/template/login/list.go
GetAssetList() []string
// GetAsset return the asset content according to the corresponding url suffix.
diff --git a/template/types/action/ajax.go b/template/types/action/ajax.go
index 7ffaee35c..17f023d85 100644
--- a/template/types/action/ajax.go
+++ b/template/types/action/ajax.go
@@ -5,10 +5,10 @@ import (
"html/template"
"strings"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/constant"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/template/types"
)
type AjaxAction struct {
diff --git a/template/types/action/base.go b/template/types/action/base.go
index 143f68ee8..f44102c9d 100644
--- a/template/types/action/base.go
+++ b/template/types/action/base.go
@@ -4,10 +4,10 @@ import (
"encoding/json"
"html/template"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/template/types"
)
type AjaxData map[string]interface{}
diff --git a/template/types/action/fieldfilter.go b/template/types/action/fieldfilter.go
index 065b4f4de..4ae0b1804 100644
--- a/template/types/action/fieldfilter.go
+++ b/template/types/action/fieldfilter.go
@@ -3,9 +3,9 @@ package action
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/template/types"
)
type FieldFilterAction struct {
diff --git a/template/types/action/file_upload.go b/template/types/action/file_upload.go
index d443fcb0b..1bc6568e5 100644
--- a/template/types/action/file_upload.go
+++ b/template/types/action/file_upload.go
@@ -3,9 +3,9 @@ package action
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/constant"
+ "github.com/ChenSee/go-admin/template/types"
)
type FileUploadAction struct {
diff --git a/template/types/action/jump.go b/template/types/action/jump.go
index 20a169ad4..5dac9a927 100644
--- a/template/types/action/jump.go
+++ b/template/types/action/jump.go
@@ -3,8 +3,8 @@ package action
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/utils"
)
type JumpAction struct {
diff --git a/template/types/action/popup.go b/template/types/action/popup.go
index 4d922ab8d..ea5923c69 100644
--- a/template/types/action/popup.go
+++ b/template/types/action/popup.go
@@ -6,14 +6,14 @@ import (
"regexp"
"strings"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- template2 "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/constant"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/utils"
+ template2 "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
)
type PopUpAction struct {
@@ -185,7 +185,7 @@ func PopUpWithForm(data PopUpData, fn GetForm, url string) *PopUpAction {
SetPrefix(config.PrefixFixSlash()).
SetUrl(url).
SetOperationFooter(col1 + col2).GetContent()).
- SetStyle(template.HTMLAttr(`overflow-x: hidden;overflow-y: hidden;`)).
+ SetStyle(template.HTMLAttr(`overflow-x: hidden;overflow-y: hidden;`)).
GetContent()
}
return &PopUpAction{
diff --git a/template/types/button.go b/template/types/button.go
index cc04125d0..60fb140df 100644
--- a/template/types/button.go
+++ b/template/types/button.go
@@ -4,9 +4,9 @@ import (
"html/template"
"net/url"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
)
type Button interface {
diff --git a/template/types/components.go b/template/types/components.go
index 769582289..76363c73c 100644
--- a/template/types/components.go
+++ b/template/types/components.go
@@ -7,9 +7,9 @@ package types
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/template/types/form"
)
type FormAttribute interface {
diff --git a/template/types/display.go b/template/types/display.go
index 503ca50e6..b4e934852 100644
--- a/template/types/display.go
+++ b/template/types/display.go
@@ -6,8 +6,8 @@ import (
"html/template"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/template/types/form"
)
type DisplayFnGenerator interface {
diff --git a/template/types/display/bool.go b/template/types/display/bool.go
index c8f1b472b..ebf08966a 100644
--- a/template/types/display/bool.go
+++ b/template/types/display/bool.go
@@ -3,8 +3,8 @@ package display
import (
"strings"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
"github.com/GoAdminGroup/html"
)
diff --git a/template/types/display/carousel.go b/template/types/display/carousel.go
index 566dde6f2..665c748cd 100644
--- a/template/types/display/carousel.go
+++ b/template/types/display/carousel.go
@@ -4,7 +4,7 @@ import (
"html/template"
"strconv"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type Carousel struct {
diff --git a/template/types/display/copy.go b/template/types/display/copy.go
index 2f1f5fba7..065de3cab 100644
--- a/template/types/display/copy.go
+++ b/template/types/display/copy.go
@@ -3,7 +3,7 @@ package display
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type Copyable struct {
diff --git a/template/types/display/date.go b/template/types/display/date.go
index ef2843b35..113248ecc 100644
--- a/template/types/display/date.go
+++ b/template/types/display/date.go
@@ -4,7 +4,7 @@ import (
"strconv"
"time"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type Date struct {
diff --git a/template/types/display/dot.go b/template/types/display/dot.go
index 96ca1eb22..c69d1229a 100644
--- a/template/types/display/dot.go
+++ b/template/types/display/dot.go
@@ -3,7 +3,7 @@ package display
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type Dot struct {
diff --git a/template/types/display/downloadable.go b/template/types/display/downloadable.go
index 7fb1aad8b..1be5e8ca9 100644
--- a/template/types/display/downloadable.go
+++ b/template/types/display/downloadable.go
@@ -3,7 +3,7 @@ package display
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type Downloadable struct {
diff --git a/template/types/display/filesize.go b/template/types/display/filesize.go
index 2dd6a24e7..bc655f460 100644
--- a/template/types/display/filesize.go
+++ b/template/types/display/filesize.go
@@ -3,8 +3,8 @@ package display
import (
"strconv"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/template/types"
)
type FileSize struct {
diff --git a/template/types/display/icon.go b/template/types/display/icon.go
index b8ab99899..037f7660f 100644
--- a/template/types/display/icon.go
+++ b/template/types/display/icon.go
@@ -1,8 +1,8 @@
package display
import (
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
)
type Icon struct {
diff --git a/template/types/display/image.go b/template/types/display/image.go
index 4b295f833..73fad2012 100644
--- a/template/types/display/image.go
+++ b/template/types/display/image.go
@@ -1,8 +1,8 @@
package display
import (
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
type Image struct {
diff --git a/template/types/display/label.go b/template/types/display/label.go
index b72be1688..e256ae397 100644
--- a/template/types/display/label.go
+++ b/template/types/display/label.go
@@ -1,8 +1,8 @@
package display
import (
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
type Label struct {
diff --git a/template/types/display/link.go b/template/types/display/link.go
index 839d24e19..e2283a612 100644
--- a/template/types/display/link.go
+++ b/template/types/display/link.go
@@ -1,8 +1,8 @@
package display
import (
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
)
type Link struct {
diff --git a/template/types/display/loading.go b/template/types/display/loading.go
index 5151d5d1f..008c4442f 100644
--- a/template/types/display/loading.go
+++ b/template/types/display/loading.go
@@ -3,7 +3,7 @@ package display
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type Loading struct {
diff --git a/template/types/display/progressbar.go b/template/types/display/progressbar.go
index 941690d28..2ee29e076 100644
--- a/template/types/display/progressbar.go
+++ b/template/types/display/progressbar.go
@@ -5,7 +5,7 @@ import (
"html/template"
"strconv"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type ProgressBar struct {
diff --git a/template/types/display/qrcode.go b/template/types/display/qrcode.go
index 11716d380..935d63bc0 100644
--- a/template/types/display/qrcode.go
+++ b/template/types/display/qrcode.go
@@ -3,7 +3,7 @@ package display
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types"
)
type Qrcode struct {
diff --git a/template/types/form.go b/template/types/form.go
index 094e95685..793bbb59a 100644
--- a/template/types/form.go
+++ b/template/types/form.go
@@ -7,22 +7,23 @@ import (
"html"
"html/template"
"net/http"
+ "reflect"
"strconv"
"strings"
"time"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/file"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
- form2 "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/constant"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/file"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
+ form2 "github.com/ChenSee/go-admin/template/types/form"
)
type FieldOption struct {
@@ -209,10 +210,19 @@ func (f *FormField) setOptionsFromSQL(sql *db.SQL) {
queryRes, err := sql.All()
if err == nil {
for _, item := range queryRes {
- f.Options = append(f.Options, FieldOption{
- Value: fmt.Sprintf("%v", item[f.OptionTable.ValueField]),
- Text: fmt.Sprintf("%v", item[f.OptionTable.TextField]),
- })
+ value := item[f.OptionTable.ValueField]
+ typeStr := reflect.TypeOf(value).String()
+ if typeStr == "[]uint8" {
+ f.Options = append(f.Options, FieldOption{
+ Value: fmt.Sprintf("%v", string(value.([]uint8))),
+ Text: fmt.Sprintf("%v", item[f.OptionTable.TextField]),
+ })
+ } else {
+ f.Options = append(f.Options, FieldOption{
+ Value: fmt.Sprintf("%v", value),
+ Text: fmt.Sprintf("%v", item[f.OptionTable.TextField]),
+ })
+ }
}
}
diff --git a/template/types/form/form.go b/template/types/form/form.go
index 4e22c189b..7ec134f2f 100644
--- a/template/types/form/form.go
+++ b/template/types/form/form.go
@@ -3,9 +3,9 @@ package form
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/language"
)
type Type uint8
diff --git a/template/types/info.go b/template/types/info.go
index f5809df71..bc33c657f 100644
--- a/template/types/info.go
+++ b/template/types/info.go
@@ -9,18 +9,18 @@ import (
"strconv"
"strings"
- "github.com/GoAdminGroup/go-admin/modules/config"
-
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/logger"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/template/types/form"
- "github.com/GoAdminGroup/go-admin/template/types/table"
+ "github.com/ChenSee/go-admin/modules/config"
+
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/logger"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins/admin/modules"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/template/types/table"
)
// FieldModel is the single query result.
@@ -447,17 +447,16 @@ func (f FieldList) GetFieldByFieldName(name string) Field {
// Join store join table info. For example:
//
-// Join {
-// BaseTable: "users",
-// Field: "role_id",
-// Table: "roles",
-// JoinField: "id",
-// }
+// Join {
+// BaseTable: "users",
+// Field: "role_id",
+// Table: "roles",
+// JoinField: "id",
+// }
//
// It will generate the join table sql like:
//
// ... left join roles on roles.id = users.role_id ...
-//
type Join struct {
Table string
TableAlias string
diff --git a/template/types/page.go b/template/types/page.go
index 7de1e98c9..9ab7cd697 100644
--- a/template/types/page.go
+++ b/template/types/page.go
@@ -11,12 +11,12 @@ import (
"strconv"
textTmpl "text/template"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/menu"
- "github.com/GoAdminGroup/go-admin/modules/system"
- "github.com/GoAdminGroup/go-admin/modules/utils"
- "github.com/GoAdminGroup/go-admin/plugins/admin/models"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/menu"
+ "github.com/ChenSee/go-admin/modules/system"
+ "github.com/ChenSee/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/plugins/admin/models"
)
// Attribute is the component interface of template. Every component of
diff --git a/template/types/select.go b/template/types/select.go
index 9d10aa65f..0961b5b8a 100644
--- a/template/types/select.go
+++ b/template/types/select.go
@@ -4,8 +4,8 @@ import (
"html/template"
"strconv"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/modules/utils"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/utils"
)
type DefaultSelection struct {
diff --git a/tests/common/api.go b/tests/common/api.go
index ca5fe52ff..6d2b8ac24 100644
--- a/tests/common/api.go
+++ b/tests/common/api.go
@@ -4,8 +4,8 @@ import (
"fmt"
"net/http"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
"github.com/gavv/httpexpect"
)
diff --git a/tests/common/auth.go b/tests/common/auth.go
index b194d9e05..4dcab2f10 100644
--- a/tests/common/auth.go
+++ b/tests/common/auth.go
@@ -4,8 +4,8 @@ import (
"fmt"
"net/http"
- "github.com/GoAdminGroup/go-admin/modules/auth"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/auth"
+ "github.com/ChenSee/go-admin/modules/config"
"github.com/gavv/httpexpect"
)
diff --git a/tests/common/common.go b/tests/common/common.go
index fd9ad832a..a3feb29f7 100644
--- a/tests/common/common.go
+++ b/tests/common/common.go
@@ -4,7 +4,7 @@ import (
"fmt"
"regexp"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
"github.com/gavv/httpexpect"
"github.com/mgutz/ansi"
)
diff --git a/tests/common/external.go b/tests/common/external.go
index cec97351d..b4b3f6576 100644
--- a/tests/common/external.go
+++ b/tests/common/external.go
@@ -4,8 +4,8 @@ import (
"fmt"
"net/http"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
"github.com/gavv/httpexpect"
)
diff --git a/tests/common/manager.go b/tests/common/manager.go
index 136463805..846089b32 100644
--- a/tests/common/manager.go
+++ b/tests/common/manager.go
@@ -4,10 +4,10 @@ import (
"fmt"
"net/http"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/errors"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/errors"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
"github.com/gavv/httpexpect"
)
diff --git a/tests/common/menu.go b/tests/common/menu.go
index 576e2a72f..ad8d200d9 100644
--- a/tests/common/menu.go
+++ b/tests/common/menu.go
@@ -4,10 +4,10 @@ import (
"fmt"
"net/http"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
"github.com/gavv/httpexpect"
)
diff --git a/tests/common/normal.go b/tests/common/normal.go
index acfbace05..a064ffc1a 100644
--- a/tests/common/normal.go
+++ b/tests/common/normal.go
@@ -4,7 +4,7 @@ import (
"fmt"
"net/http"
- "github.com/GoAdminGroup/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/config"
"github.com/gavv/httpexpect"
)
diff --git a/tests/common/operation_log.go b/tests/common/operation_log.go
index 11e6da294..90e507be1 100644
--- a/tests/common/operation_log.go
+++ b/tests/common/operation_log.go
@@ -4,8 +4,8 @@ import (
"fmt"
"net/http"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
"github.com/gavv/httpexpect"
)
diff --git a/tests/common/permission.go b/tests/common/permission.go
index d9e4d38cb..7518e2644 100644
--- a/tests/common/permission.go
+++ b/tests/common/permission.go
@@ -4,9 +4,9 @@ import (
"fmt"
"net/http"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
"github.com/gavv/httpexpect"
)
diff --git a/tests/common/role.go b/tests/common/role.go
index 1757502b5..18f089937 100644
--- a/tests/common/role.go
+++ b/tests/common/role.go
@@ -4,9 +4,9 @@ import (
"fmt"
"net/http"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/constant"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/constant"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/form"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/beego/beego.go b/tests/frameworks/beego/beego.go
index 5203e688f..318354135 100644
--- a/tests/frameworks/beego/beego.go
+++ b/tests/frameworks/beego/beego.go
@@ -2,31 +2,31 @@ package beego
import (
// add beego adapter
- _ "github.com/GoAdminGroup/go-admin/adapter/beego"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+ _ "github.com/ChenSee/go-admin/adapter/beego"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"net/http"
"os"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/astaxie/beego"
)
diff --git a/tests/frameworks/beego/beego_test.go b/tests/frameworks/beego/beego_test.go
index a98a9593d..179f1b684 100644
--- a/tests/frameworks/beego/beego_test.go
+++ b/tests/frameworks/beego/beego_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/beego2/beego.go b/tests/frameworks/beego2/beego.go
index 7afd5d886..bc3f84960 100644
--- a/tests/frameworks/beego2/beego.go
+++ b/tests/frameworks/beego2/beego.go
@@ -5,26 +5,26 @@ import (
"os"
// add beego adapter
- _ "github.com/GoAdminGroup/go-admin/adapter/beego2"
+ _ "github.com/ChenSee/go-admin/adapter/beego2"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
- "github.com/GoAdminGroup/themes/adminlte"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"github.com/beego/beego/v2/server/web"
)
diff --git a/tests/frameworks/beego2/beego_test.go b/tests/frameworks/beego2/beego_test.go
index b0eaff202..3807a23d1 100644
--- a/tests/frameworks/beego2/beego_test.go
+++ b/tests/frameworks/beego2/beego_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/buffalo/buffalo.go b/tests/frameworks/buffalo/buffalo.go
index cc3911e2f..15a30df8f 100644
--- a/tests/frameworks/buffalo/buffalo.go
+++ b/tests/frameworks/buffalo/buffalo.go
@@ -2,33 +2,33 @@ package buffalo
import (
// add buffalo adapter
- _ "github.com/GoAdminGroup/go-admin/adapter/buffalo"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/themes/adminlte"
+ _ "github.com/ChenSee/go-admin/adapter/buffalo"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/goAdminThemes/adminlte"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- _ "github.com/GoAdminGroup/themes/adminlte"
+ _ "github.com/ChenSee/goAdminThemes/adminlte"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"net/http"
"os"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/gobuffalo/buffalo"
)
diff --git a/tests/frameworks/buffalo/buffalo_test.go b/tests/frameworks/buffalo/buffalo_test.go
index 52977746c..b9d0b89e3 100644
--- a/tests/frameworks/buffalo/buffalo_test.go
+++ b/tests/frameworks/buffalo/buffalo_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/chi/chi.go b/tests/frameworks/chi/chi.go
index d0556cbbf..3a3ed17e5 100644
--- a/tests/frameworks/chi/chi.go
+++ b/tests/frameworks/chi/chi.go
@@ -2,31 +2,31 @@ package chi
import (
// add chi adapter
- _ "github.com/GoAdminGroup/go-admin/adapter/chi"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+ _ "github.com/ChenSee/go-admin/adapter/chi"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"net/http"
"os"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/go-chi/chi"
)
diff --git a/tests/frameworks/chi/chi_test.go b/tests/frameworks/chi/chi_test.go
index bde8202a1..657e052b6 100644
--- a/tests/frameworks/chi/chi_test.go
+++ b/tests/frameworks/chi/chi_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/echo/echo.go b/tests/frameworks/echo/echo.go
index 8d86f6b58..f8f5682c7 100644
--- a/tests/frameworks/echo/echo.go
+++ b/tests/frameworks/echo/echo.go
@@ -2,31 +2,31 @@ package echo
import (
// add echo adapter
- _ "github.com/GoAdminGroup/go-admin/adapter/echo"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+ _ "github.com/ChenSee/go-admin/adapter/echo"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"net/http"
"os"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/labstack/echo/v4"
)
diff --git a/tests/frameworks/echo/echo_test.go b/tests/frameworks/echo/echo_test.go
index c24334926..c69ec492b 100644
--- a/tests/frameworks/echo/echo_test.go
+++ b/tests/frameworks/echo/echo_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/fasthttp/fasthttp.go b/tests/frameworks/fasthttp/fasthttp.go
index b3318b388..202490428 100644
--- a/tests/frameworks/fasthttp/fasthttp.go
+++ b/tests/frameworks/fasthttp/fasthttp.go
@@ -2,28 +2,28 @@ package fasthttp
import (
// add fasthttp adapter
- ada "github.com/GoAdminGroup/go-admin/adapter/fasthttp"
+ ada "github.com/ChenSee/go-admin/adapter/fasthttp"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"os"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/buaazp/fasthttprouter"
"github.com/valyala/fasthttp"
)
diff --git a/tests/frameworks/fasthttp/fasthttp_test.go b/tests/frameworks/fasthttp/fasthttp_test.go
index 14db16998..41084f5d2 100644
--- a/tests/frameworks/fasthttp/fasthttp_test.go
+++ b/tests/frameworks/fasthttp/fasthttp_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/gear/gear.go b/tests/frameworks/gear/gear.go
index da752a3ee..21e6f5af6 100644
--- a/tests/frameworks/gear/gear.go
+++ b/tests/frameworks/gear/gear.go
@@ -2,30 +2,30 @@ package gear
import (
// add gin adapter
- ada "github.com/GoAdminGroup/go-admin/adapter/gear"
+ ada "github.com/ChenSee/go-admin/adapter/gear"
"github.com/teambition/gear"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"net/http"
"os"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
)
func internalHandler() http.Handler {
diff --git a/tests/frameworks/gear/gear_test.go b/tests/frameworks/gear/gear_test.go
index 42dc8961e..d093b611b 100644
--- a/tests/frameworks/gear/gear_test.go
+++ b/tests/frameworks/gear/gear_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/gf/gf.go b/tests/frameworks/gf/gf.go
index 92f85d61d..6bfabbe10 100644
--- a/tests/frameworks/gf/gf.go
+++ b/tests/frameworks/gf/gf.go
@@ -5,26 +5,26 @@ import (
"os"
// add gf adapter
- _ "github.com/GoAdminGroup/go-admin/adapter/gf"
+ _ "github.com/ChenSee/go-admin/adapter/gf"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- "github.com/GoAdminGroup/themes/adminlte"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/goAdminThemes/adminlte"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/gogf/gf/frame/g"
)
diff --git a/tests/frameworks/gf/gf_test.go b/tests/frameworks/gf/gf_test.go
index 22f339d29..8cd3d2a85 100644
--- a/tests/frameworks/gf/gf_test.go
+++ b/tests/frameworks/gf/gf_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/gf2/gf.go b/tests/frameworks/gf2/gf.go
index 37e83db70..e5f24f847 100644
--- a/tests/frameworks/gf2/gf.go
+++ b/tests/frameworks/gf2/gf.go
@@ -4,32 +4,32 @@ import (
// add gf adapter
"reflect"
- _ "github.com/GoAdminGroup/go-admin/adapter/gf2"
+ _ "github.com/ChenSee/go-admin/adapter/gf2"
"github.com/agiledragon/gomonkey"
// add mysql driver
- "github.com/GoAdminGroup/go-admin/modules/config"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- "github.com/GoAdminGroup/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/modules/config"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ "github.com/ChenSee/go-admin/modules/language"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"net/http"
"os"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/net/ghttp"
)
diff --git a/tests/frameworks/gf2/gf_test.go b/tests/frameworks/gf2/gf_test.go
index bf9740a5a..923fb08ce 100644
--- a/tests/frameworks/gf2/gf_test.go
+++ b/tests/frameworks/gf2/gf_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/gin/gin.go b/tests/frameworks/gin/gin.go
index c73b678c2..61cd1c750 100644
--- a/tests/frameworks/gin/gin.go
+++ b/tests/frameworks/gin/gin.go
@@ -3,28 +3,28 @@ package gin
import (
// add gin adapter
- ada "github.com/GoAdminGroup/go-admin/adapter/gin"
+ ada "github.com/ChenSee/go-admin/adapter/gin"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"net/http"
"os"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/gin-gonic/gin"
)
diff --git a/tests/frameworks/gin/gin_test.go b/tests/frameworks/gin/gin_test.go
index 3c7badddf..217116701 100644
--- a/tests/frameworks/gin/gin_test.go
+++ b/tests/frameworks/gin/gin_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/gofiber/gofiber.go b/tests/frameworks/gofiber/gofiber.go
index e6b73cf67..5cb9bef46 100644
--- a/tests/frameworks/gofiber/gofiber.go
+++ b/tests/frameworks/gofiber/gofiber.go
@@ -2,28 +2,28 @@ package gofiber
import (
// add fasthttp adapter
- ada "github.com/GoAdminGroup/go-admin/adapter/gofiber"
+ ada "github.com/ChenSee/go-admin/adapter/gofiber"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"os"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/gofiber/fiber/v2"
"github.com/valyala/fasthttp"
)
diff --git a/tests/frameworks/gofiber/gofiber_test.go b/tests/frameworks/gofiber/gofiber_test.go
index 071d0119b..be780f400 100644
--- a/tests/frameworks/gofiber/gofiber_test.go
+++ b/tests/frameworks/gofiber/gofiber_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/gorilla/gorilla.go b/tests/frameworks/gorilla/gorilla.go
index 202abf449..175198153 100644
--- a/tests/frameworks/gorilla/gorilla.go
+++ b/tests/frameworks/gorilla/gorilla.go
@@ -2,31 +2,31 @@ package gorilla
import (
// add gorilla adapter
- _ "github.com/GoAdminGroup/go-admin/adapter/gorilla"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+ _ "github.com/ChenSee/go-admin/adapter/gorilla"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/goAdminThemes/adminlte"
"net/http"
"os"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/gorilla/mux"
)
diff --git a/tests/frameworks/gorilla/gorilla_test.go b/tests/frameworks/gorilla/gorilla_test.go
index 944176355..1062efbc6 100644
--- a/tests/frameworks/gorilla/gorilla_test.go
+++ b/tests/frameworks/gorilla/gorilla_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/frameworks/iris/iris.go b/tests/frameworks/iris/iris.go
index 824b491a4..2521fb0d1 100644
--- a/tests/frameworks/iris/iris.go
+++ b/tests/frameworks/iris/iris.go
@@ -2,32 +2,32 @@ package iris
import (
// add iris adapter
- _ "github.com/GoAdminGroup/go-admin/adapter/iris"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/language"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+ _ "github.com/ChenSee/go-admin/adapter/iris"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/language"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
// add mysql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
// add postgresql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/postgres"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/postgres"
// add sqlite driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/sqlite"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/sqlite"
// add mssql driver
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mssql"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mssql"
// add adminlte ui theme
- "github.com/GoAdminGroup/themes/adminlte"
+ "github.com/ChenSee/goAdminThemes/adminlte"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
"net/http"
"os"
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/plugins/example"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/plugins/example"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/kataras/iris/v12"
)
diff --git a/tests/frameworks/iris/iris_test.go b/tests/frameworks/iris/iris_test.go
index 9e18705b1..a7bf2d513 100644
--- a/tests/frameworks/iris/iris_test.go
+++ b/tests/frameworks/iris/iris_test.go
@@ -4,7 +4,7 @@ import (
"net/http"
"testing"
- "github.com/GoAdminGroup/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
diff --git a/tests/tables/authors.go b/tests/tables/authors.go
index ea89c3473..0be8e23c1 100644
--- a/tests/tables/authors.go
+++ b/tests/tables/authors.go
@@ -1,10 +1,10 @@
package tables
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template/types/form"
)
// GetAuthorsTable return the model of table author.
diff --git a/tests/tables/content.go b/tests/tables/content.go
index d48a0413f..d4a07b4db 100644
--- a/tests/tables/content.go
+++ b/tests/tables/content.go
@@ -3,17 +3,17 @@ package tables
import (
"html/template"
- "github.com/GoAdminGroup/go-admin/context"
- tmpl "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/themes/adminlte/components/chart_legend"
- "github.com/GoAdminGroup/themes/adminlte/components/description"
- "github.com/GoAdminGroup/themes/adminlte/components/infobox"
- "github.com/GoAdminGroup/themes/adminlte/components/productlist"
- "github.com/GoAdminGroup/themes/adminlte/components/progress_group"
- "github.com/GoAdminGroup/themes/adminlte/components/smallbox"
+ "github.com/ChenSee/go-admin/context"
+ tmpl "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/chart_legend"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/description"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/infobox"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/productlist"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/progress_group"
+ "github.com/ChenSee/goAdminThemes/adminlte/components/smallbox"
)
// GetContent return the content of index page.
diff --git a/tests/tables/external.go b/tests/tables/external.go
index 7b3c3852b..48e08c179 100644
--- a/tests/tables/external.go
+++ b/tests/tables/external.go
@@ -1,11 +1,11 @@
package tables
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template/types/form"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/parameter"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template/types/form"
)
// GetExternalTable return the model from external data source.
diff --git a/tests/tables/posts.go b/tests/tables/posts.go
index 22e7bb857..0ea0475ec 100644
--- a/tests/tables/posts.go
+++ b/tests/tables/posts.go
@@ -1,13 +1,13 @@
package tables
import (
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/form"
- editType "github.com/GoAdminGroup/go-admin/template/types/table"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/form"
+ editType "github.com/ChenSee/go-admin/template/types/table"
)
// GetPostsTable return the model of table posts.
diff --git a/tests/tables/tables.go b/tests/tables/tables.go
index 32179e592..5b964eb0c 100644
--- a/tests/tables/tables.go
+++ b/tests/tables/tables.go
@@ -1,6 +1,6 @@
package tables
-import "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
+import "github.com/ChenSee/go-admin/plugins/admin/modules/table"
var Generators = map[string]table.Generator{
"posts": GetPostsTable,
diff --git a/tests/tables/user.go b/tests/tables/user.go
index 909a72aa3..101068ad5 100644
--- a/tests/tables/user.go
+++ b/tests/tables/user.go
@@ -4,16 +4,16 @@ import (
"fmt"
"strings"
- "github.com/GoAdminGroup/go-admin/context"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/template/icon"
- "github.com/GoAdminGroup/go-admin/template/types"
- "github.com/GoAdminGroup/go-admin/template/types/action"
- "github.com/GoAdminGroup/go-admin/template/types/form"
- selection "github.com/GoAdminGroup/go-admin/template/types/form/select"
- editType "github.com/GoAdminGroup/go-admin/template/types/table"
+ "github.com/ChenSee/go-admin/context"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/template/icon"
+ "github.com/ChenSee/go-admin/template/types"
+ "github.com/ChenSee/go-admin/template/types/action"
+ "github.com/ChenSee/go-admin/template/types/form"
+ selection "github.com/ChenSee/go-admin/template/types/form/select"
+ editType "github.com/ChenSee/go-admin/template/types/table"
)
// GetUserTable return the model of table user.
diff --git a/tests/test.go b/tests/test.go
index 5b043219a..55db21e4d 100644
--- a/tests/test.go
+++ b/tests/test.go
@@ -5,12 +5,12 @@ import (
"strings"
"testing"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/modules/db"
- "github.com/GoAdminGroup/go-admin/modules/db/dialect"
- "github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
- "github.com/GoAdminGroup/go-admin/tests/common"
- "github.com/GoAdminGroup/go-admin/tests/frameworks/fasthttp"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/modules/db"
+ "github.com/ChenSee/go-admin/modules/db/dialect"
+ "github.com/ChenSee/go-admin/plugins/admin/modules/table"
+ "github.com/ChenSee/go-admin/tests/common"
+ "github.com/ChenSee/go-admin/tests/frameworks/fasthttp"
"github.com/gavv/httpexpect"
fasthttp2 "github.com/valyala/fasthttp"
)
diff --git a/tests/test_test.go b/tests/test_test.go
index bf340a37f..7c22272c3 100644
--- a/tests/test_test.go
+++ b/tests/test_test.go
@@ -4,8 +4,8 @@ import (
"testing"
"time"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/tests/frameworks/gin"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/tests/frameworks/gin"
)
func TestBlackBoxTestSuitOfBuiltInTables(t *testing.T) {
diff --git a/tests/web/test.go b/tests/web/test.go
index 1b9a30f5d..f979116c9 100644
--- a/tests/web/test.go
+++ b/tests/web/test.go
@@ -7,9 +7,9 @@ import (
"github.com/mgutz/ansi"
- _ "github.com/GoAdminGroup/go-admin/adapter/gin"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- _ "github.com/GoAdminGroup/themes/adminlte"
+ _ "github.com/ChenSee/go-admin/adapter/gin"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/goAdminThemes/adminlte"
"github.com/sclevine/agouti"
)
diff --git a/tests/web/web_test.go b/tests/web/web_test.go
index 0c6f5ab32..f3e06372b 100644
--- a/tests/web/web_test.go
+++ b/tests/web/web_test.go
@@ -6,16 +6,16 @@ import (
"os"
"testing"
- _ "github.com/GoAdminGroup/go-admin/adapter/gin"
- _ "github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql"
- _ "github.com/GoAdminGroup/themes/adminlte"
-
- "github.com/GoAdminGroup/go-admin/engine"
- "github.com/GoAdminGroup/go-admin/modules/config"
- "github.com/GoAdminGroup/go-admin/plugins/admin"
- "github.com/GoAdminGroup/go-admin/template"
- "github.com/GoAdminGroup/go-admin/template/chartjs"
- "github.com/GoAdminGroup/go-admin/tests/tables"
+ _ "github.com/ChenSee/go-admin/adapter/gin"
+ _ "github.com/ChenSee/go-admin/modules/db/drivers/mysql"
+ _ "github.com/ChenSee/goAdminThemes/adminlte"
+
+ "github.com/ChenSee/go-admin/engine"
+ "github.com/ChenSee/go-admin/modules/config"
+ "github.com/ChenSee/go-admin/plugins/admin"
+ "github.com/ChenSee/go-admin/template"
+ "github.com/ChenSee/go-admin/template/chartjs"
+ "github.com/ChenSee/go-admin/tests/tables"
"github.com/gin-gonic/gin"
)