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
You've chosen a very strange way to install it. The CLI is usually used for such tasks. Example: protoc-gen-go for gRPC.
But to simplify your method, you can use the go.work file.
go work init
Then you need to create the tools directory with tools.go. Then execute go mod init tools and go mod tidy.
Then do the same for the main space and include two workspaces in go.work.
go 1.21.0
use (
.
tools
)
This is to separate the dependencies of the application and the generator.
The text was updated successfully, but these errors were encountered:
You've chosen a very strange way to install it. The CLI is usually used for such tasks. Example: protoc-gen-go for gRPC.
But to simplify your method, you can use the go.work file.
Then you need to create the tools directory with tools.go. Then execute
go mod init tools
andgo mod tidy
.Then do the same for the main space and include two workspaces in go.work.
go 1.21.0 use ( . tools )
This is to separate the dependencies of the application and the generator.
The text was updated successfully, but these errors were encountered: