utils

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvToInt64

func ConvToInt64(v interface{}) (int64, error)

func CopyFile

func CopyFile(dst, src string) error

func FatalOnError

func FatalOnError(err error)

func IsFileExist

func IsFileExist(path string) bool

func JoinStrings

func JoinStrings(s []string, suffix, sep string) string

func MakeStrings

func MakeStrings(ele string, size int) []string

func RemoveSliceItem

func RemoveSliceItem(v []interface{}, index int) []interface{}

func ToLowerAbridgeCase

func ToLowerAbridgeCase(str string) (s string)

func ToSnakeCase

func ToSnakeCase(s string) string

func TrimQuote

func TrimQuote(str string) (string, bool)

func TruncCapToLen

func TruncCapToLen(ss []string) []string

func UnexportedName

func UnexportedName(n string) string

func UserHome

func UserHome() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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