Documentation ¶
Index ¶
Constants ¶
View Source
const GopkgTomlTmpl = `` /* 463-byte string literal not displayed */
GopkgTomlTmpl is the default dep Gopkg.toml
Variables ¶
View Source
var ErrNotInGoPath = errors.New("currently not in a $GOPATH")
ErrNotInGoPath can be asserted against
View Source
var ErrTemplatesNotFound = errors.New("templates are missing")
ErrTemplatesNotFound means that the `buffalo` binary can't find the template files it needs to complete a task. This usually occurs when building `buffalo` locally and/or when using multipath GOPATHs.
View Source
var Templates = packr.NewBox("../newapp/templates")
Templates are the templates needed by this generator
Functions ¶
This section is empty.
Types ¶
type Generator ¶ added in v0.10.1
type Generator struct { meta.App Version string `json:"version"` Force bool `json:"force"` Verbose bool `json:"verbose"` DBType string `json:"db_type"` CIProvider string `json:"ci_provider"` AsWeb bool `json:"as_web"` AsAPI bool `json:"as_api"` Docker string `json:"docker"` SkipPop bool `json:"skip_pop"` SkipWebpack bool `json:"skip_webpack"` SkipYarn bool `json:"skip_yarn"` Bootstrap int `json:"bootstrap"` }
Generator is the representation of a new Buffalo application
Click to show internal directories.
Click to hide internal directories.