Exemple #1
0
func fixKeyNames(data map[string]interface{}) map[string]interface{} {
	fixed := make(map[string]interface{})
	for k, v := range data {
		fixed[go_camelcase.Camelcase(k)] = v
	}
	return fixed
}
Exemple #2
0
func LowerCamelcase(s string) string {
	s = camelcase.Camelcase(s)
	return strings.ToLower(s[0:1]) + s[1:len(s)]
}