string

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capitalize

func Capitalize(s string) string

func IsDevVersion

func IsDevVersion(cliVersion interface{}) bool

IsDevVersion checks if a given CLI version is a development version.

func MultiTrim

func MultiTrim(str string, prefixes, suffixes []string) string

func RandStr

func RandStr(len int) string

RandStr generates a random string of a given length, which is the first N chars of a UUID of the form: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, per RFC4122.

Types

This section is empty.

Jump to

Keyboard shortcuts

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