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.

Index

Package Files

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

Variables

var ErrGoModulesWithDep = errors.New("dep and modules can not be used at the same time")

ErrGoModulesWithDep is thrown when trying to use both dep and go modules

var ErrNotInGoPath = errors.New("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 25 packages (graph) and is imported by 5 packages. Updated 2019-06-26. Refresh now. Tools for package owners.