stringutils

package
v0.48.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SpecialCases = map[string]string{
	"schema": "schemas",
}

Define cases for pluralizing which pluralize library does not handle

Functions

func Pluralize

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL