Documentation
¶
Index ¶
- func CheckFlatName(s string, msg string, args ...interface{}) error
- func CheckNonEmpty(s string, msg string, args ...interface{}) error
- func CheckValues(s string, msg string, values ...string) error
- func CheckVersion(v string, msg string, args ...interface{}) error
- func CheckVersionConstraint(v string, msg string, args ...interface{}) error
- func Compare[T Comparable[T]](a, b any) int
- func Convert[T, S any](in []S) []T
- func Crop(s string, n int) string
- func IsAlphaNumeric(s string) bool
- func Parse[T any, P parsablePointer[T]](s string) (P, error)
- type Comparable
- type Copyable
- type CopyableList
- type Parseable
- type StringMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFlatName ¶
func CheckNonEmpty ¶
func CheckVersion ¶
func CheckVersionConstraint ¶
func Compare ¶
func Compare[T Comparable[T]](a, b any) int
func IsAlphaNumeric ¶
Types ¶
type Comparable ¶
type CopyableList ¶
type CopyableList[T Copyable[T]] []T
func (CopyableList[T]) Copy ¶
func (l CopyableList[T]) Copy() CopyableList[T]
Click to show internal directories.
Click to hide internal directories.