Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: the default goversion is different with the usage #31

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/create/cmdflags.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func addOutputFlags(createCmd *cobra.Command) {
"rpconly defaults to the current directory)")
createCmd.Flags().BoolP("force", "f", false, "Force overwrite existing code")
createCmd.Flags().StringP("mod", "m", "", "Specify the go module, default: trpc.app.${pb.package}")
createCmd.Flags().String("goversion", "1.18", "Specify the Go version in the generated go.mod file, default: 1.12")
createCmd.Flags().String("goversion", "1.18", "Specify the Go version in the generated go.mod file, default: 1.18")
createCmd.Flags().String("trpcgoversion", "",
"Specify the trpc-go version in the generated go.mod file")
createCmd.Flags().Bool("mock", true,
Expand Down
5 changes: 3 additions & 2 deletions gobin/assets.go

Large diffs are not rendered by default.

Loading