buffalo: github.com/gobuffalo/buffalo/genny/newapp/core Index | Files

package core

import "github.com/gobuffalo/buffalo/genny/newapp/core"

You can use the "packr clean" command to clean up this, and any other packr generated files.


Package Files

core-packr.go core.go errors.go options.go root.go


var ErrNotInGoPath = fmt.Errorf("currently not in a $GOPATH")

ErrNotInGoPath is thrown when not using go modules outside of GOPATH

func New Uses

func New(opts *Options) (*genny.Group, error)

New generator for creating a Buffalo application

type Options Uses

type Options struct {
    App            meta.App
    Docker         *docker.Options
    Pop            *newapp.Options
    CI             *ci.Options
    VCS            *vcs.Options
    Refresh        *refresh.Options
    Version        string
    ForbiddenNames []string

Options for a new Buffalo application

func (*Options) Validate Uses

func (opts *Options) Validate() error

Validate that options are usuable

Package core imports 20 packages (graph) and is imported by 7 packages. Updated 2020-02-19. Refresh now. Tools for package owners.