增加环境变量是否成功读取的检查,并在控制台中打印日志

This commit is contained in:
2026-01-10 01:58:46 +08:00
parent e761ff5be5
commit d952ddd4ea
3 changed files with 22 additions and 5 deletions

View File

@@ -32,8 +32,7 @@ import (
"github.com/gin-gonic/gin"
"go.uber.org/zap"
_ "carrotskin/docs" // Swagger docs
// _ "carrotskin/docs" // Swagger docs
)
func main() {