utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(a string, list []string) bool

func Exists

func Exists(path string) bool

func Fatal

func Fatal(err error)

func PrepareBeforeCommands

func PrepareBeforeCommands(commands []string) []string

PrepareBeforeCommands sets up before commands example output bash -c "command1 && command2"

func PrepareCommand

func PrepareCommand(command string) []string

PrepareCommand prepares the benchmark command

func PrepareImage

func PrepareImage(name, version string) string

PrepareImage simply setups the image name

func RandString

func RandString(n int) string

func StripCtlAndExtFromUnicode

func StripCtlAndExtFromUnicode(str string) string

func Welcome

func Welcome()

Types

This section is empty.

Jump to

Keyboard shortcuts

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