api-platform/main.go

19 lines
283 B
Go
Raw Normal View History

2024-11-21 11:25:32 +00:00
package main
import (
2024-11-22 17:55:15 +00:00
"leafdev.top/Leaf/api-platform/cmd"
2024-11-21 11:25:32 +00:00
)
// @title API Docs
// @version 1.0
// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name Authorization
func main() {
err := cmd.RootCmd.Execute()
if err != nil {
panic(err)
return
}
}