package main import ( "git.magicany.cc/black1552/gin-base/config" "git.magicany.cc/black1552/gin-base/log" "git.magicany.cc/black1552/gin-base/server" ) // TIP

To run your response, right-click the response and select Run.

Alternatively, click // the icon in the gutter and select the Run menu item from here.

func main() { g := server.New() cf, err := config.Unmarshal[config.BaseConfig]() if err != nil { log.Error("转换配置失败", err) } log.Info("启动服务:", cf.Server.Addr) server.Run(g) }