Documentation ¶
Index ¶
- Variables
- func DoCmd(cmd string, args ...string)
- func GetCopyright(file string) string
- func GetDomain() string
- func IsNewVersion() bool
- func IsProjectNotInitialized() bool
- func ProjectExist() bool
- func Write(path, templateName, templateValue string, data interface{}) bool
- func WriteIfNotFound(path, templateName, templateValue string, data interface{}) bool
- func WriteString(path, value string)
- func Yesno(reader *bufio.Reader) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var Domain string
View Source
var GoSrc string
View Source
var Repo string
Functions ¶
func GetCopyright ¶
GetCopyright will return the contents of the copyright file if it exists. if the file cannot be read, will return the empty string.
func IsNewVersion ¶
func IsNewVersion() bool
func IsProjectNotInitialized ¶
func IsProjectNotInitialized() bool
func ProjectExist ¶
func ProjectExist() bool
func WriteIfNotFound ¶
writeIfNotFound returns true if the file was created and false if it already exists
func WriteString ¶
func WriteString(path, value string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.