enterprise/cmd/server/enterprise-api.go

19 lines
286 B
Go

package main
import (
"enterprise/common/config"
"enterprise/server"
_ "enterprise/service/salary_calculator"
)
func main() {
config.LoadServerConfig()
config.LoadAliPay()
config.LoadCorpConfig()
//global.InitGlobal()
if err := server.Start(); err != nil {
panic(err)
}
}