main.go 269 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 package main import ( _ "fmt" db "loginserver/database" _ "time" ) func main() { defer db.Engine.Close() router := initRouter() // httpsRouter := initHttpsRouter() router.Run(":8401") // httpsRouter.RunTLS(":443", "./yingyongbao.crt", "./yingyongbao.key") }