change name

This commit is contained in:
zhuyasen
2022-11-04 23:32:40 +08:00
parent f9958623db
commit 2feee12878
26 changed files with 223 additions and 85 deletions

View File

@@ -0,0 +1,21 @@
package main
import (
"github.com/zhufuyi/sponge/cmd/serverNameExample_mixExample/initial"
"github.com/zhufuyi/sponge/pkg/app"
)
// @title serverNameExample api docs
// @description http server api docs
// @schemes http https
// @version v0.0.0
// @host localhost:8080
func main() {
initial.Config()
servers := initial.RegisterServers()
closes := initial.RegisterClose(servers)
a := app.New(servers, closes)
a.Run()
}