9817bd1d79
`gin.Run` is already blocked, there is no need to `select{}` to block the process. If the api service is stopped, the program will not end normally due to `select{}`.
8 lines
89 B
Go
8 lines
89 B
Go
package main
|
|
|
|
import "github.com/cdle/sillyGirl/core"
|
|
|
|
func main() {
|
|
core.RunServer()
|
|
}
|