Versions in this module Expand all Collapse all v1 v1.6.2 Dec 22, 2023 v1.6.1 Dec 8, 2023 v1.6.0 Dec 6, 2023 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 GetDefaultGoctlHome() (string, error) + func GetGitHome() (string, error) + func GetGoctlHome() (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 RegisterGoctlHome(home string) + func RemoveIfExist(filename string) error + func RemoveOrQuit(filename string) error + func SameFile(path1, path2 string) (bool, error)