Documentation ¶
Index ¶
Constants ¶
View Source
const CliTemplateMainGo = `` /* 653-byte string literal not displayed */
CliTemplateMainGo holds cli template main.go
View Source
const EmbedGo = `` /* 2119-byte string literal not displayed */
View Source
const FSGo = `` /* 1936-byte string literal not displayed */
FSGo holds stored (embedded) files template
View Source
const GOCOMUGo = `` /* 493-byte string literal not displayed */
GOCOMUGo holds the gocomu.go template
View Source
const GuiMainGo = `` /* 581-byte string literal not displayed */
GuiMainGo holds gui template main.go
View Source
const ServeGo = `//+build serve
package main
import (
"{{ .ProjectName }}/cmd"
)
func main() {
cmd.GOCOMU()
}
`
ServeGo holds the gocomu serve template
View Source
const SineGo = `` /* 1014-byte string literal not displayed */
SineGo holds the hello world template
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶
CreateFile is an helper for creating new files from templates
Types ¶
Click to show internal directories.
Click to hide internal directories.