config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 7 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