Testing for controller/main.go

This commit is contained in:
HFO4
2019-11-06 22:35:31 +08:00
parent 6ba4d1ae82
commit 2c9e0c1119
9 changed files with 240 additions and 3 deletions

6
go.mod
View File

@@ -4,5 +4,11 @@ go 1.12
require (
github.com/gin-gonic/gin v1.4.0
github.com/go-playground/locales v0.13.0 // indirect
github.com/go-playground/universal-translator v0.16.0 // indirect
github.com/jinzhu/gorm v1.9.11
github.com/leodido/go-urn v1.2.0 // indirect
github.com/stretchr/testify v1.4.0
gopkg.in/go-playground/validator.v8 v8.18.2
gopkg.in/go-playground/validator.v9 v9.30.0
)