bugfix: wrong blocking use

`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{}`.
This commit is contained in:
zc
2021-09-22 09:30:43 +08:00
committed by GitHub
parent 2845867c88
commit 9817bd1d79
-1
View File
@@ -4,5 +4,4 @@ import "github.com/cdle/sillyGirl/core"
func main() {
core.RunServer()
select {}
}