refactor(main.go): use cobra for cli and move main.go to root dir
This commit is contained in:
parent
9d2e456150
commit
ac52934ee7
3 changed files with 33 additions and 15 deletions
9
main.go
Normal file
9
main.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package main
|
||||
|
||||
import "gitlab.mareshq.com/hq/backoffice/backoffice-api/cmd"
|
||||
|
||||
//go:generate go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen --config=oapi-codegen.yaml ./api/v1/openapi.yaml
|
||||
|
||||
func main() {
|
||||
cmd.Execute()
|
||||
}
|
||||
Reference in a new issue