util

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AppGitState is the app build state
	AppGitState = ""
	// AppGitCommit is the app commit
	AppGitCommit = ""
	// AppVersion is the app version
	AppVersion = "canary"
)

Functions

func GetVersion added in v0.1.4

func GetVersion() string

GetVersion returns the AppVersion

func RandStringUser

func RandStringUser(n int) string

RandStringUser returns a random string of specififed length that contains only letters

func RandomString

func RandomString(length int) string

RandomString returns a string by specified length of random chars(base64)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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