Skip to content

Commit

Permalink
Import base go file even if there are no basetypes required in there
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcarp committed Dec 8, 2022
1 parent 8e45b51 commit ba34a22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/protoc-gen-connect-go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ func generate(plugin *protogen.Plugin, file *protogen.File) {
string(file.GoPackageName),
)),
)
generatedFile.Import(file.GoImportPath)
generatePreamble(generatedFile, file)
generateServiceNameConstants(generatedFile, file.Services)
for _, service := range file.Services {
Expand Down

0 comments on commit ba34a22

Please sign in to comment.