Documentation ¶
Index ¶
- func CreateIfNotExist(file string) (*os.File, error)
- func FileExists(file string) bool
- func FileNameWithoutExt(file string) string
- func FindGoModPath(dir string) (string, bool)
- func GetHead(source string) string
- func JoinPackages(pkgs ...string) string
- func MkdirIfNotExist(dir string) error
- func PathFromGoSrc() (string, error)
- func RemoveIfExist(filename string) error
- func RemoveOrQuit(filename string) error
- func Title(s string) string
- func Untitle(s string) string
- func With(name string) *defaultTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func FileNameWithoutExt ¶
func FindGoModPath ¶
func JoinPackages ¶
func MkdirIfNotExist ¶
func PathFromGoSrc ¶
func RemoveIfExist ¶
func RemoveOrQuit ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.