Skip to content

Commit

Permalink
Adding model struct comment to prevent lint warning (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
mperezlamadrid authored and stanislas-m committed Jul 28, 2019
1 parent 3d3d2c7 commit caa68d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions soda/cmd/generate/model_templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
{{ end -}}
)
// {{.model_name}} model struct
type {{.model_name}} struct {
{{range $a := .model.Attributes -}}
{{$a}}
Expand Down

0 comments on commit caa68d3

Please sign in to comment.