core

package
v0.14.8-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2019 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var ErrGoModulesWithDep = fmt.Errorf("dep and modules can not be used at the same time")

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

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

ErrNotInGoPath is thrown when not using go modules outside of GOPATH

Functions

func New

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

New generator for creating a Buffalo application

Types

type Options

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

func (opts *Options) Validate() error

Validate that options are usuable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL