Skip to content

Commit a7413e4

Browse files
committed
Formatted convert.go
1 parent 0503e31 commit a7413e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/converter/convert.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,9 @@ func handleSingleMessageOpt(file *descriptor.FileDescriptorProto, requestParam s
401401
})
402402
}
403403

404-
// treatEnumsAsStringOpt
405-
func enumAsStringOpt(requestParam string) {
404+
// enumAsStringOpt handles --bq-schema_opt=enum-as-string in protoc params.
405+
// providing that param tesll protoc-gen-bq-schema to treat enums as strings.
406+
func enumAsStringOpt(requestParam string) {
406407
if !strings.Contains(requestParam, "enum-as-string") {
407408
return
408409
}

0 commit comments

Comments
 (0)