Skip to content

Commit 9e80d38

Browse files
author
cg33
committed
update to v1.2.15
1 parent ab31cd4 commit 9e80d38

File tree

7 files changed

+70
-174
lines changed

7 files changed

+70
-174
lines changed

go.mod

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,28 @@ module github.com/GoAdminGroup/example
33
go 1.13
44

55
require (
6-
github.com/GoAdminGroup/demo v0.0.0-20200804012912-343055b5c399
76
github.com/GoAdminGroup/go-admin v1.2.15
87
github.com/GoAdminGroup/themes v0.0.38
8+
github.com/ajg/form v1.5.1 // indirect
9+
github.com/buaazp/fasthttprouter v0.1.1 // indirect
10+
github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072 // indirect
11+
github.com/fatih/structs v1.1.0 // indirect
912
github.com/gavv/httpexpect v2.0.0+incompatible
1013
github.com/gin-gonic/gin v1.5.0
1114
github.com/gobuffalo/packr/v2 v2.8.0 // indirect
15+
github.com/google/go-querystring v1.0.0 // indirect
16+
github.com/imkira/go-interpol v1.1.0 // indirect
1217
github.com/jinzhu/gorm v1.9.12
13-
github.com/shirou/gopsutil v2.20.3+incompatible // indirect
18+
github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88 // indirect
19+
github.com/moul/http2curl v1.0.0 // indirect
20+
github.com/sclevine/agouti v3.0.0+incompatible // indirect
21+
github.com/sergi/go-diff v1.1.0 // indirect
22+
github.com/smartystreets/goconvey v1.6.4 // indirect
1423
github.com/valyala/fasthttp v1.15.1 // indirect
24+
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
25+
github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0 // indirect
26+
github.com/yudai/gojsondiff v1.0.0 // indirect
27+
github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect
28+
github.com/yudai/pp v2.0.1+incompatible // indirect
29+
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
1530
)

go.sum

Lines changed: 42 additions & 165 deletions
Large diffs are not rendered by default.

main_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
package main
22

33
import (
4-
"github.com/GoAdminGroup/demo/tables"
4+
"log"
5+
"testing"
6+
7+
"github.com/GoAdminGroup/example/tables"
58
"github.com/GoAdminGroup/go-admin/modules/config"
69
"github.com/GoAdminGroup/go-admin/tests"
710
"github.com/GoAdminGroup/go-admin/tests/common"
811
"github.com/GoAdminGroup/go-admin/tests/frameworks/gin"
912
"github.com/GoAdminGroup/go-admin/tests/web"
1013
"github.com/gavv/httpexpect"
11-
"log"
12-
"testing"
1314
)
1415

1516
// Black box testing

pages/index.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package pages
22

33
import (
4+
"html/template"
5+
46
"github.com/GoAdminGroup/example/models"
57
"github.com/GoAdminGroup/go-admin/context"
68
tmpl "github.com/GoAdminGroup/go-admin/template"
@@ -14,7 +16,6 @@ import (
1416
"github.com/GoAdminGroup/themes/adminlte/components/productlist"
1517
"github.com/GoAdminGroup/themes/adminlte/components/progress_group"
1618
"github.com/GoAdminGroup/themes/adminlte/components/smallbox"
17-
"html/template"
1819
)
1920

2021
// GetContent return the content of index page.

plugins/plugins.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
package plugins
1+
package plugins

tables/profile.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
package tables
22

33
import (
4+
"path/filepath"
5+
"strings"
6+
47
"github.com/GoAdminGroup/go-admin/context"
58
"github.com/GoAdminGroup/go-admin/modules/db"
69
"github.com/GoAdminGroup/go-admin/plugins/admin/modules/table"
710
"github.com/GoAdminGroup/go-admin/template/types"
811
"github.com/GoAdminGroup/go-admin/template/types/form"
9-
"path/filepath"
10-
"strings"
1112
)
1213

1314
func GetProfileTable(ctx *context.Context) table.Table {

tables/users.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package tables
22

33
import (
44
"fmt"
5+
56
"github.com/GoAdminGroup/go-admin/context"
67
"github.com/GoAdminGroup/go-admin/modules/db"
78
form2 "github.com/GoAdminGroup/go-admin/plugins/admin/modules/form"

0 commit comments

Comments
 (0)