You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project that use gin-swagger, so it will generate docs/docs.go, and I use command gf run main.go .... to implement hot compile.
I want to exclude docs/*, how can I do ?
not found, after reading manual:
gf run -h
USAGE
gf run FILE [OPTION]
ARGUMENT
FILE building file path.
OPTION
-p, --path output directory path forbuilt binary file. it's "manifest/output"in default
-e, --extra the same options as "go run"/"go build" except some options as follows defined
-a, --args custom arguments for your process
-w, --watchPaths watch additional paths for live reload, separated by ",". i.e. "manifest/config/*.yaml"
-h, --help more information about this command
EXAMPLE
gf run main.go
gf run main.go --args "server -p 8080"
gf run main.go -mod=vendor
gf run main.go -w "manifest/config/*.yaml"
DESCRIPTION
The "run"command is used for running go codes with hot-compiled-like feature,
which compiles and runs the go codes asynchronously when codes change.
The text was updated successfully, but these errors were encountered:
What do you want to ask?
I have a project that use gin-swagger, so it will generate
docs/docs.go
, and I use commandgf run main.go ....
to implement hot compile.I want to exclude
docs/*
, how can I do ?not found, after reading manual:
The text was updated successfully, but these errors were encountered: