Merge "Fix godoc typos."

This commit is contained in:
Treehugger Robot 2023-06-19 19:10:47 +00:00 committed by Gerrit Code Review
commit d999938ab0

View file

@ -63,12 +63,12 @@ func (pm *ProjectMetadata) Project() string {
return pm.project return pm.project
} }
// ProjectName returns the name of the project. // Name returns the name of the project.
func (pm *ProjectMetadata) Name() string { func (pm *ProjectMetadata) Name() string {
return pm.proto.GetName() return pm.proto.GetName()
} }
// ProjectVersion returns the version of the project if available. // Version returns the version of the project if available.
func (pm *ProjectMetadata) Version() string { func (pm *ProjectMetadata) Version() string {
tp := pm.proto.GetThirdParty() tp := pm.proto.GetThirdParty()
if tp != nil { if tp != nil {