helpers: Index | Files

package inflections

import ""


Package Files



const (
    CamelizeKey    = "camelize"
    CapitalizeKey  = "capitalize"
    DasherizeKey   = "dasherize"
    OrdinalizeKey  = "ordinalize"
    PluralizeKey   = "pluralize"
    SingularizeKey = "singularize"
    UnderscoreKey  = "underscore"
    UpcaseKey      = "upcase"
    DowncaseKey    = "downcase"

Keys to be used in templates for the functions in this package.


var Camelize = flect.Camelize
var Capitalize = flect.Capitalize
var Dasherize = flect.Dasherize
var Downcase = strings.ToLower
var Ordinalize = flect.Ordinalize
var Pascalize = flect.Pascalize
var Pluralize = flect.Pluralize
var Singularize = flect.Singularize
var Underscore = flect.Underscore
var Upcase = strings.ToUpper

func New Uses

func New() hctx.Map

New returns a map of the helpers within this package.

Package inflections imports 3 packages (graph) and is imported by 1 packages. Updated 2019-05-01. Refresh now. Tools for package owners.