Skip to content

Commit

Permalink
fix 2 typos in Registry.SetPrefix's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorj committed Sep 14, 2017
1 parent de5a00f commit 49887e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protoc-gen-grpc-gateway/descriptor/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (r *Registry) AddPkgMap(file, protoPkg string) {
r.pkgMap[file] = protoPkg
}

// SetPrefix registeres the perfix to be added to go package paths generated from proto package names.
// SetPrefix registers the prefix to be added to go package paths generated from proto package names.
func (r *Registry) SetPrefix(prefix string) {
r.prefix = prefix
}
Expand Down

0 comments on commit 49887e5

Please sign in to comment.