Skip to content

Commit

Permalink
Merge pull request #20 from origadmin/dev
Browse files Browse the repository at this point in the history
fix(gins): update version display to use correct variable
  • Loading branch information
godcong authored Nov 6, 2024
2 parents 55630a4 + 686feee commit 3f574d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/protoc-gen-go-gins/gins.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func generateFile(gen *protogen.Plugin, file *protogen.File, omitempty bool, omi
g := gen.NewGeneratedFile(filename, file.GoImportPath)
g.P("// Code generated by protoc-gen-go-gins. DO NOT EDIT.")
g.P("// versions:")
g.P(fmt.Sprintf("// - protoc-gen-go-gins %s", release))
g.P(fmt.Sprintf("// - protoc-gen-go-gins %s", version))
g.P("// - protoc ", protocVersion(gen))
if file.Proto.GetOptions().GetDeprecated() {
g.P("// ", file.Desc.Path(), " is a deprecated file.")
Expand Down

0 comments on commit 3f574d2

Please sign in to comment.