diff --git a/generate/generate.go b/generate/generate.go index f88620f..f48c8fc 100644 --- a/generate/generate.go +++ b/generate/generate.go @@ -623,7 +623,7 @@ func format(w io.Writer, pname string, docs map[string]string) error { // GenerateRegistry generates a Go code file to the output, including a package init function that // will register the documentation of the declarations specified by their gopath. // -// The gopath argument accepts any number of package, package level symbol, of struct field paths. +// The gopath argument accepts any number of package, package level symbol, or struct field paths. // It is recommended to use package paths unless special circumstances. // // Some important gotchas to keep in mind, GenerateRegistry does not resolve type references like