Fix: use go run instead of search in go bin directory
This commit is contained in:
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
.PHONY: all swagger clean
|
||||
|
||||
SWAG ?= ~/go/bin/swag
|
||||
SWAG ?= go run github.com/swaggo/swag/cmd/[email protected]
|
||||
SWAG_INIT_ARGS += -o docs -g cmds/server.go
|
||||
|
||||
GO_ENV += CGO_ENABLED=0
|
||||
|
||||
Reference in new issue
Block a user