You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
funcinit() {
trpc.NewServer()
config.InitServerConfig()
dao.New()
print("init server config success")
}
got:
2024/07/01 16:23:10 maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined
flag provided but not defined: -test.run
Usage of /root/code/intelligent_assistance/internal/service/__debug_bin862289461:
-conf string
server config path (default "./trpc_go.yaml")
Or how to use unit tests below trpc-go?
Thank you in advance for your help
The text was updated successfully, but these errors were encountered:
Preliminary Research
Question
Additional Information
My unit-testing code
got:
When I delete extra code. Like this:
got:
2024/07/01 16:23:10 maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined flag provided but not defined: -test.run Usage of /root/code/intelligent_assistance/internal/service/__debug_bin862289461: -conf string server config path (default "./trpc_go.yaml")
Or how to use unit tests below trpc-go?
Thank you in advance for your help
The text was updated successfully, but these errors were encountered: