feat: add main_test.go

This commit is contained in:
Rogee
2024-11-29 17:46:47 +08:00
parent 725a6de5ab
commit a6fc3c5d05
2 changed files with 23 additions and 3 deletions

16
backend/main_test.go Executable file
View File

@@ -0,0 +1,16 @@
package main
import (
"testing"
"backend/common/service/model"
"git.ipao.vip/rogeecn/atom"
)
func Test_GenModel(t *testing.T) {
err := atom.Serve(model.Options()...)
if err != nil {
t.Fatal(err)
}
}