This commit is contained in:
withchao 2023-05-09 20:20:00 +08:00
parent 22f4c3bf89
commit dbb8c889ef

View File

@ -29,6 +29,7 @@ func main() {
}
}
// run
func run(port int) error {
if port == 0 {
port = config.Config.Api.GinPort[0]