utils

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Display added in v1.4.0

func Display(data ...interface{})

Display print the data in console

func FileExists

func FileExists(name string) bool

FileExists reports whether the named file or directory exists.

func GetDisplayString added in v1.4.0

func GetDisplayString(data ...interface{}) string

GetDisplayString return data print string

func GetFuncName

func GetFuncName(i interface{}) string

GetFuncName get function name

func GetGOPATHs added in v1.8.1

func GetGOPATHs() []string

GetGOPATHs returns all paths in GOPATH variable.

func GrepFile

func GrepFile(patten string, filename