Documentation ¶
Index ¶
- func CheckEnv(appname string) (apppath, packpath string, err error)
- func CloseFile(f *os.File)
- func GetGOPATHs() []string
- func IsExist(path string) bool
- func IsInGOPATH(thePath string) bool
- func MustCheck(err error)
- func ToCamel(s string) string
- func ToLowerCamel(s string) string
- func WriteToFile(filename, content string)
- type FormatData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInGOPATH ¶
IsInGOPATH checks whether the path is inside of any GOPATH or not
func WriteToFile ¶
func WriteToFile(filename, content string)
WriteToFile creates a file and writes content to it
Types ¶
type FormatData ¶
Click to show internal directories.
Click to hide internal directories.