Skip to content

Commit ed1ab20

Browse files
committed
fix: fix WithElemNameSuffix doc comment
1 parent 586ff2f commit ed1ab20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

generator.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ func WithCharDataFieldName(charDataFieldName string) GeneratorOption {
7272
}
7373
}
7474

75-
// WithElemNameSuffix sets the attribute suffix.
76-
func WithElemNameSuffix(elemSuffix string) GeneratorOption {
75+
// WithElemNameSuffix sets the element name suffix.
76+
func WithElemNameSuffix(elemNameSuffix string) GeneratorOption {
7777
return func(g *Generator) {
78-
g.elemNameSuffix = elemSuffix
78+
g.elemNameSuffix = elemNameSuffix
7979
}
8080
}
8181

0 commit comments

Comments
 (0)