This commit is contained in:
skiffer-git 2022-09-14 12:43:10 +08:00
parent 1f36d970f9
commit 685cacf490

View File

@ -41,6 +41,7 @@ import (
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
// @BasePath /
func main() {
fmt.Println("api start ")
log.NewPrivateLog(constant.LogFileName)
gin.SetMode(gin.ReleaseMode)
f, _ := os.Create("../logs/api.log")