Updated generated doc comments
This commit is contained in:
1 parent
5b8983eea2
commit
f3226fa5cc
2 files changed
+5
-5
No files matched your search
@@ -63,7 +63,7 @@ func (def AttribDef) Generate(qualified bool) string {
|
||||
boolType = "bool"
|
||||
stringType = "string"
|
||||
|
||||
stringTemplate = `// %[1]s creates a %[2]s attribute
|
||||
stringTemplate = `// %[1]s creates a "%[2]s" attribute
|
||||
func %[1]s(value string) %[3]sAttrib {
|
||||
return %[3]sAttrib{
|
||||
Key: "%[2]s",
|
||||
@@ -71,7 +71,7 @@ func (def AttribDef) Generate(qualified bool) string {
|
||||
}
|
||||
}
|
||||
`
|
||||
boolTemplate = `// %[1]s creates a %[2]s attribute
|
||||
boolTemplate = `// %[1]s creates a "%[2]s" attribute
|
||||
func %[1]s() %[3]sAttrib {
|
||||
return %[3]sAttrib{
|
||||
Key: "%[2]s",
|
||||
|
||||
Reference in new issue
Block a user