Versions in this module Expand all Collapse all v1 v1.0.9 Oct 6, 2022 v1.0.8 Oct 6, 2022 Changes in this version + const NL + func Clean(category string) error + func Copy(src, dest string) error + func CreateIfNotExist(file string) (*os.File, error) + func CreateTemplate(category, name, content string) error + func FileExists(file string) bool + func FileNameWithoutExt(file string) string + func FindGoModPath(dir string) (string, bool) + func FindProjectPath(loc string) (string, bool) + func GetAutoCompleteHome() (string, error) + func GetCacheDir() (string, error) + func GetDefaultHome() (string, error) + func GetGitHome() (string, error) + func GetHome() (home string, err error) + func GetTemplateDir(category string) (string, error) + func Hash(file string) (string, error) + func InitTemplates(category string, templates map[string]string) error + func JoinPackages(pkgs ...string) string + func LoadTemplate(category, file, builtin string) (string, error) + func MkdirIfNotExist(dir string) error + func MustTempDir() string + func PathFromGoSrc() (string, error) + func ReadLink(name string) (string, error) — darwin/amd64, linux/amd64, windows/amd64 + func RegisterGocliHome(home string) + func RemoveIfExist(filename string) error + func RemoveOrQuit(filename string) error + func SameFile(path1, path2 string) (bool, error) Other modules containing this package github.com/cocoup/go-smart