add gui support

添加 ui 支持
This commit is contained in:
谢小军
2020-01-21 00:41:16 +08:00
parent 530ef778f7
commit b72a40e40e
15 changed files with 658 additions and 2 deletions

5
go.mod
View File

@@ -7,10 +7,13 @@ require (
github.com/go-playground/universal-translator v0.17.0 // indirect
github.com/go-sql-driver/mysql v1.4.1
github.com/jinzhu/gorm v1.9.11
github.com/jroimartin/gocui v0.4.0
github.com/kr/pretty v0.1.0 // indirect
github.com/leodido/go-urn v1.2.0 // indirect
github.com/nicksnyder/go-i18n/v2 v2.0.3
github.com/spf13/cobra v0.0.5
github.com/xxjwxc/public v0.0.0-20191107073037-ea6b812d567f
github.com/xxjwxc/public v0.0.0-20200120133922-c61314a90a4a
golang.org/x/text v0.3.2
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
gopkg.in/go-playground/validator.v9 v9.30.2
gopkg.in/yaml.v2 v2.2.7