style: generate
This commit is contained in:
5
generate_api.go
Normal file
5
generate_api.go
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
//go:generate swag init -g cmd/apimain.go --output docs/api --instanceName api --exclude http/controller/admin
|
||||||
|
//go:generate swag init -g cmd/apimain.go --output docs/admin --instanceName admin --exclude http/controller/api
|
||||||
|
//go:generate go run cmd/apimain.go
|
||||||
3
generate_run.go
Normal file
3
generate_run.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
//go:generate go run cmd/apimain.go
|
||||||
Reference in New Issue
Block a user