From b9e787904cb6210a68e31a580185ffcb950b0f6d Mon Sep 17 00:00:00 2001 From: Daniel DeGroff Date: Wed, 11 Aug 2021 16:15:23 -0600 Subject: [PATCH] fix go client mapping for double and float. https://github.com/FusionAuth/go-client/issues/57 --- src/main/client/_macros.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/client/_macros.ftl b/src/main/client/_macros.ftl index 3b414048..e309431e 100644 --- a/src/main/client/_macros.ftl +++ b/src/main/client/_macros.ftl @@ -42,9 +42,9 @@ [#if type == "boolean" || type = "Boolean"] [#return "bool"/] [#elseif type == "double" || type == "Double"] - [#return "double"/] + [#return "float64"/] [#elseif type == "float" || type == "Float"] - [#return "float"/] + [#return "float32"/] [#elseif type == "int" || type == "Integer"] [#return "int"/] [#elseif type == "Long" || type == "long" || type == "ZonedDateTime"]