mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-05 16:57:07 +08:00
18 lines
340 B
Go
18 lines
340 B
Go
// Package main is the grpc server of the application.
|
|
package main
|
|
|
|
import (
|
|
"github.com/zhufuyi/sponge/pkg/app"
|
|
|
|
"github.com/zhufuyi/sponge/cmd/serverNameExample_grpcExample/initial"
|
|
)
|
|
|
|
func main() {
|
|
initial.InitApp()
|
|
services := initial.CreateServices()
|
|
closes := initial.Close(services)
|
|
|
|
a := app.New(services, closes)
|
|
a.Run()
|
|
}
|