Documentation ¶
Index ¶
- Variables
- func GenerateProject(app application.Application) (string, error)
- type Assets
- type Build
- type BuildTemplate
- type Cmd
- type CmdTemplate
- type Deployments
- type DeploymentsTemplate
- type Docs
- type DocsTemplate
- type GoMod
- type GoModTemplate
- type Gow
- type GowTemplate
- type IFolder
- type Internal
- type InternalTemplate
- type Pkg
- type PkgTemplate
- type Scripts
- type ScriptsTemplate
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyFolders = []string{
"api",
"configs",
"examples",
"githooks",
"init",
"test",
"third_party",
"tools",
"web",
"website",
}
View Source
var FOLDERS = []string{
"api",
"assets",
"build",
"cmd",
"configs",
"deployments",
"docs",
"examples",
"githooks",
"init",
"internal",
"pkg",
"scripts",
"test",
"third_party",
"tools",
"vendor",
"web",
"website",
}
Functions ¶
func GenerateProject ¶
func GenerateProject(app application.Application) (string, error)
Types ¶
type BuildTemplate ¶
type BuildTemplate struct {
Name string
}
type CmdTemplate ¶
type CmdTemplate struct {
Name, FolderName, Owner, Repo string
}
type Deployments ¶
type Deployments struct{}
type DeploymentsTemplate ¶
type DeploymentsTemplate struct {
Name string
}
type DocsTemplate ¶
type DocsTemplate struct {
Title, Description string
}
type GoModTemplate ¶
type GowTemplate ¶
type GowTemplate struct {
Name string
}
type InternalTemplate ¶
type InternalTemplate struct {
Package string
}
type PkgTemplate ¶
type PkgTemplate struct {
Package string
}
type ScriptsTemplate ¶
type ScriptsTemplate struct {
Name string
}
Click to show internal directories.
Click to hide internal directories.