package converter import "strings" func kebabToCamelCase(kebab string) (camelCase string) { isToUpper := false for _, runeValue := range kebab { if isToUpper { camelCase += strings.ToUpper(string(runeValue)) isToUpper = false } else { if runeValue == '-' { isToUpper = true } else { camelCase += string(runeValue) } } } return }