main.go 379 B

123456789101112131415161718192021
  1. package main
  2. import (
  3. "cold-logistics/cmd"
  4. _ "cold-logistics/app/admin/router"
  5. _ "cold-logistics/docs"
  6. )
  7. //go:generate swag init --parseDependency --parseDepth=6
  8. // @title 冷链物流平台
  9. // @version 1.0
  10. // @description 冷链物流平台
  11. // @Host 127.0.0.1:6270
  12. // @securityDefinitions.apikey Bearer
  13. // @in header
  14. // @name Authorization
  15. func main() {
  16. cmd.Execute()
  17. }