go项目脚手架
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sorbet/main.go

19 lines
259 B

package main
import (
"log"
"sorbet/internal"
"sorbet/pkg/env"
)
func main() {
if err := env.Init(); err != nil {
panic(err)
}
if err := internal.Init(); err != nil {
panic(err)
}
if err := internal.Start(); err != nil {
log.Panicln(err)
}
}