diff --git a/pkg/generators/golang/types_generator.go b/pkg/generators/golang/types_generator.go index 4c4c383..be4dcde 100644 --- a/pkg/generators/golang/types_generator.go +++ b/pkg/generators/golang/types_generator.go @@ -508,19 +508,16 @@ func (g *TypesGenerator) generateStructTypeSource(typ *concepts.Type) { // Items sets the items of the list. func (l *{{ $listName }}) SetLink(link bool) { l.link = link - return } // Items sets the items of the list. func (l *{{ $listName }}) SetHREF(href string) { l.href = href - return } // Items sets the items of the list. func (l *{{ $listName }}) SetItems(items []*{{ $objectName }}) { l.items = items - return } // Items returns the items of the list.