Fix function comments based on best practices from Effective Go

Signed-off-by: CodeLingo Bot <bot@codelingo.io>
This commit is contained in:
CodeLingo Bot 2019-03-11 00:48:11 +00:00
parent 0fcd3253f6
commit 10b4e77acd
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ func resolveFileDescriptor(unresolved map[string]*descpb.FileDescriptorProto, re
return result, nil
}
// DescriptorSourceFromFileDescriptorSet creates a DescriptorSource that is backed by the given
// DescriptorSourceFromFileDescriptors creates a DescriptorSource that is backed by the given
// file descriptors
func DescriptorSourceFromFileDescriptors(files ...*desc.FileDescriptor) (DescriptorSource, error) {
fds := map[string]*desc.FileDescriptor{}