feat: init repo
This commit is contained in:
16
templates/project/main_test.go.tpl
Executable file
16
templates/project/main_test.go.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"{{.ModuleName}}/pkg/service/model"
|
||||
|
||||
"git.ipao.vip/rogeecn/atom"
|
||||
)
|
||||
|
||||
func Test_GenModel(t *testing.T) {
|
||||
err := atom.Serve(model.Options()...)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user