Skip to content

Commit

Permalink
Merge pull request #212 from nimrodshn/remove_redundunt_returns
Browse files Browse the repository at this point in the history
Remove redundunt return triggering lint
  • Loading branch information
nimrodshn authored Dec 16, 2024
2 parents 30080a6 + fd1e234 commit 97807d1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/generators/golang/types_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 97807d1

Please sign in to comment.