config

package
v4.8.8+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

New generator to create a database.yml file

Types

type Options

type Options struct {
	Root     string // Defaults to PWD
	FileName string // Defaults to database.yml
	Dialect  string // required
	Prefix   string // required - <prefix>_development
}

Options needed for the config generator

func (*Options) Validate

func (opts *Options) Validate() error

Jump to

Keyboard shortcuts

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