Skip to content

Commit

Permalink
Merge pull request #35 from FusionAuth/fix-golang-char-issue
Browse files Browse the repository at this point in the history
Fixed incorrect mapping for 'char' datatype.
  • Loading branch information
mooreds committed May 6, 2021
2 parents 09fb0ed + 30baa6d commit 4b198f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/client/_macros.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
[#return "nil"/]
[#elseif type?starts_with("Collection")]
[#return type?replace("Collection", "[]")?replace("UUID", "string")?replace("<", "")?replace(">", "")/]
[#elseif type == "String" || type = "UUID" || type == "ZoneId" || type == "URI" || type == "Locale" || type == "LocalDate"]
[#elseif type == "String" || type = "UUID" || type == "ZoneId" || type == "URI" || type == "Locale" || type == "LocalDate" || type == "char" ]
[#return "string"/]
[#elseif type == "Object" || type == "D" || type == "T"]
[#return "interface{}"/]
Expand Down

0 comments on commit 4b198f2

Please sign in to comment.