lower_upper.go 294 B

12345678910111213
  1. package flect
  2. import "strings"
  3. // ToUpper is a convience wrapper for strings.ToUpper
  4. func (i Ident) ToUpper() Ident {
  5. return New(strings.ToUpper(i.Original))
  6. }
  7. // ToLower is a convience wrapper for strings.ToLower
  8. func (i Ident) ToLower() Ident {
  9. return New(strings.ToLower(i.Original))
  10. }