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
Is your feature request related to a problem? Please describe.
A typical Go module is named in the format of 'example.com/foo/bar.' However, whenever I run the goctl api new example.com/foo/bar command, it only creates a module named 'bar.' It generates the 'example.com' directory, then creates the 'foo' subdirectory within it, and finally, creates the 'bar' subdirectory under the 'foo' directory."
Describe the solution you'd like
create a go module name "example.com/foo/bar", and create only one root directory name bar
Describe alternatives you've considered
maybe add --module, --out-dir flag will do, too
Additional context
no
The text was updated successfully, but these errors were encountered:
You can specify the path when creating a service, the essence is just this, but i usually switch to the specified directory to generate the module and then modify the go.mod file.
If it is possible to specify the module name on the goctl, maybe it will be more convenient.
Is your feature request related to a problem? Please describe.
A typical Go module is named in the format of 'example.com/foo/bar.' However, whenever I run the
goctl api new example.com/foo/bar
command, it only creates a module named 'bar.' It generates the 'example.com' directory, then creates the 'foo' subdirectory within it, and finally, creates the 'bar' subdirectory under the 'foo' directory."Describe the solution you'd like
create a go module name "example.com/foo/bar", and create only one root directory name
bar
Describe alternatives you've considered
maybe add --module, --out-dir flag will do, too
Additional context
no
The text was updated successfully, but these errors were encountered: