Discover Packages
github.com/solo-io/skv2
codegen
util
stringutils
package
Version:
v0.29.12
Opens a new window with list of versions in this module.
Published: Aug 8, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types Pluralize(s)
Documentation
¶
View Source
var SpecialCases = map [string ]string {
"schema" : "schemas" ,
}
Define cases for pluralizing which pluralize library does not handle
func Pluralize (s string ) string
Pluralize is the canonical pluralization function for SKv2. It should be used to special case
when we want a different result than the underlying pluralize library
Source Files
¶
Click to show internal directories.
Click to hide internal directories.