Skip to content

Commit

Permalink
Follow new specs
Browse files Browse the repository at this point in the history
Signed-off-by: Joffref <[email protected]>
  • Loading branch information
Joffref committed Nov 17, 2023
1 parent f30b10c commit c80bf10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import (
"fmt"
)
func (v {{ .Type }}) Validate() error {
func (v {{ .Type.InternalName }}) Validate() error {
{{ range .Attributes }} {{$attribute := .}}
{{ if eq .Type "string" }}{{ range .Comments }}
{{ if eq . "+required" }}
Expand Down

0 comments on commit c80bf10

Please sign in to comment.