Documentation
¶
Index ¶
- func CreateIfNotExist(file string) (*os.File, error)
- func CreateTemplateAndExecute(filename, text string, arg map[string]interface{}, forceUpdate bool, ...) error
- func FileExists(file string) bool
- func FileNameWithoutExt(file string) string
- func FormatCodeAndWrite(filename string, code []byte) error
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func FileNameWithoutExt ¶
func FormatCodeAndWrite ¶
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.