优化工作-1
This commit is contained in:
@@ -17,6 +17,25 @@ import (
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
// @title HFB Sys API
|
||||
// @version 1.0
|
||||
// @description 哈夫币租号平台 API 文档
|
||||
// @termsOfService http://swagger.io/terms/
|
||||
|
||||
// @contact.name API Support
|
||||
// @contact.email support@hfb.com
|
||||
|
||||
// @license.name MIT
|
||||
// @license.url https://opensource.org/licenses/MIT
|
||||
|
||||
// @host localhost:8080
|
||||
// @BasePath /api
|
||||
|
||||
// @securityDefinitions.apikey BearerAuth
|
||||
// @in header
|
||||
// @name Authorization
|
||||
// @description Type "Bearer" followed by a space and JWT token.
|
||||
|
||||
func main() {
|
||||
cfg := config.Load()
|
||||
logger, err := logging.New(cfg.Log)
|
||||
|
||||
Reference in New Issue
Block a user