Browse Source

protoc-gen-go/generator: fix misspelling (#732)

Cyrille Hemidy 7 years ago
parent
commit
7be3631955
1 changed files with 1 additions and 1 deletions
  1. 1 1
      protoc-gen-go/generator/generator.go

+ 1 - 1
protoc-gen-go/generator/generator.go

@@ -1781,7 +1781,7 @@ func (g *Generator) defaultConstantName(goMessageType, protoFieldName string) st
 // oneofField - field containing list of subfields:
 // - oneofSubField - a field within the oneof
 
-// msgCtx contais the context for the generator functions.
+// msgCtx contains the context for the generator functions.
 type msgCtx struct {
 	goName  string      // Go struct name of the message, e.g. MessageName
 	message *Descriptor // The descriptor for the message