MCPcopy Create free account
hub / github.com/goadesign/goa / runeSpacePos

Function runeSpacePos

codegen/funcs.go:365–372  ·  view source on GitHub ↗
(r []rune)

Source from the content-addressed store, hash-verified

363}
364
365func runeSpacePos(r []rune) int {
366 for i := range r {
367 if unicode.IsSpace(r[i]) {
368 return i
369 }
370 }
371 return len(r)
372}
373
374// isLower returns true if the character is considered a lower case character
375// when transforming word into CamelCase.

Callers 1

WrapTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected