util

package
v0.0.0-...-8c278e4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TempDirectory  = "temp"
	BuildDirectory = "build"
)

Variables

This section is empty.

Functions

func Contains

func Contains(v []string, str string) bool

func CreateDirectory

func CreateDirectory(path string)

func EnterAnyKey

func EnterAnyKey()

func Find

func Find(v []string, str string) string

func GetDateTime

func GetDateTime() string

func Sleep

func Sleep(t time.Duration)

func SplitAfterIndex

func SplitAfterIndex(str string, index byte) string

func StringToInt

func StringToInt(v string) (int, error)

func WriteFile

func WriteFile(path string, data []byte) error

WriteFile create a new file

Types

This section is empty.

Jump to

Keyboard shortcuts

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