utils

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const EnvAmHostname = "AM_HOSTNAME"

EnvAmHostname will override the hostname in all machine names.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() string

func Hostname

func Hostname() string

func J

func J(states []string) string

J joins state names into a single string

func Jw

func Jw(states []string, sep string) string

Jw joins state names into a single string with a separator.

func RandID

func RandID(strLen int) string

RandID generates a random ID of the given length (defaults to 8).

Types

This section is empty.

Jump to

Keyboard shortcuts

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