utils

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckoutDir

func CheckoutDir(dir string) error

CheckoutDir Checkout directory status if not exists, try to create it

func CheckoutIfFileExists

func CheckoutIfFileExists(filePath string) bool

CheckoutIfFileExists checkout if file exists

func GetListWithStartAndEnd

func GetListWithStartAndEnd(start int, end int) []data.KeyMap

GetListWithStartAndEnd get the list with start and end

func GetRandomString

func GetRandomString(count int) string

GetRandomString generate random string with length

func VerifyFileType

func VerifyFileType(fileName string) bool

VerifyFileType Checkout file type

Types

This section is empty.

Jump to

Keyboard shortcuts

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