Skip to content

Commit

Permalink
Fix hardcoded service name on Endpoints struct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lukyth authored and kujtimiihoxha committed Sep 8, 2017
1 parent 8f43b22 commit ebc9558
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -603,9 +603,9 @@ func (sg *ServiceInitGenerator) generateEndpoints(name string, iface *parser.Int
file.Structs = []parser.Struct{
parser.NewStructWithComment(
"Endpoints",
`Endpoints collects all of the endpoints that compose an add service. It's
fmt.Sprintf(`Endpoints collects all of the endpoints that compose the %s service. It's
meant to be used as a helper struct, to collect all of the endpoints into a
single parameter.`,
single parameter.`, name),
[]parser.NamedTypeValue{}),
}
gosrc := utils.GetGOPATH() + "/src/"
Expand Down

0 comments on commit ebc9558

Please sign in to comment.