Skip to content

Commit 8bec008

Browse files
hectorjachew22
authored andcommitted
fix 2 typos in Registry.SetPrefix's comment
1 parent de5a00f commit 8bec008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protoc-gen-grpc-gateway/descriptor/registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func (r *Registry) AddPkgMap(file, protoPkg string) {
207207
r.pkgMap[file] = protoPkg
208208
}
209209

210-
// SetPrefix registeres the perfix to be added to go package paths generated from proto package names.
210+
// SetPrefix registers the prefix to be added to go package paths generated from proto package names.
211211
func (r *Registry) SetPrefix(prefix string) {
212212
r.prefix = prefix
213213
}

0 commit comments

Comments
 (0)