mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-09-26 20:51:14 +08:00
18 lines
352 B
Go
18 lines
352 B
Go
// Package main is the http server of the application.
|
|
package main
|
|
|
|
import (
|
|
"github.com/go-dev-frame/sponge/pkg/app"
|
|
|
|
"github.com/go-dev-frame/sponge/cmd/serverNameExample_httpPbExample/initial"
|
|
)
|
|
|
|
func main() {
|
|
initial.InitApp()
|
|
services := initial.CreateServices()
|
|
closes := initial.Close(services)
|
|
|
|
a := app.New(services, closes)
|
|
a.Run()
|
|
}
|