name

package
v2.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GuessPluralName

func GuessPluralName(name string) string

func Hex

func Hex(s string, length int) string

func Limit

func Limit(s string, count int) string

Limit the length of a string to count characters. If the string's length is greater or equal to count, it will be truncated and a hash will be appended to the end. Warning: runtime error for count <= 5: https://go.dev/play/p/UAbpZIOvIYo

func SafeConcatName

func SafeConcatName(name ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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