-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
cmd-buildrequests about build commandrequests about build commandlang-gorequest about go supportrequest about go supportrefactrequests to improve existing featuresrequests to improve existing features
Description
Currently, we extends the base message builder that didn't fit with go syntax :
func messageBuilder(b *strlang.Golang, v interface{}) {
base.MessageBuilder(b.Builder, nil, v, true, map[string]string{
"key": `"%v": `,
"arrayStart": "[]interface{} {\n",
"arrayEnd": "}",
"mapStart": "map[string]interface{} {\n",
"mapEnd": "}",
"string": `"%s"`,
"number": "%v",
"separator": ",\n",
"close": "\n",
"quote": "\"",
})
}Everything into a map became a interface{}, the goal should be to detect type if the map didn't contains multiple type value.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cmd-buildrequests about build commandrequests about build commandlang-gorequest about go supportrequest about go supportrefactrequests to improve existing featuresrequests to improve existing features