diff --git a/cmd/commands/api/apiapp.go b/cmd/commands/api/apiapp.go index ce3efe9..ea93f51 100644 --- a/cmd/commands/api/apiapp.go +++ b/cmd/commands/api/apiapp.go @@ -113,6 +113,7 @@ module %s go %s require github.com/astaxie/beego %s +require github.com/smartystreets/goconvey v1.6.4 ` var apirouter = `// @APIVersion 1.0.0 diff --git a/cmd/commands/hprose/hprose.go b/cmd/commands/hprose/hprose.go index 05d9ad7..284ad98 100644 --- a/cmd/commands/hprose/hprose.go +++ b/cmd/commands/hprose/hprose.go @@ -51,6 +51,7 @@ module %s go %s require github.com/astaxie/beego %s +require github.com/smartystreets/goconvey v1.6.4 ` var module utils.DocValue diff --git a/cmd/commands/new/new.go b/cmd/commands/new/new.go index 2a716cb..4a1d02d 100644 --- a/cmd/commands/new/new.go +++ b/cmd/commands/new/new.go @@ -96,6 +96,7 @@ module %s go %s require github.com/astaxie/beego %s +require github.com/smartystreets/goconvey v1.6.4 ` var test = `package test