seedrs

package
v0.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestSeedr = seedr.New("test_seedr",
	seedr.SetCreateDriver(mysql.New(openTestDB())),
	seedr.SetFieldMapper(
		seedr.RegexpTagFieldMapper(
			`.*gorm:"column:\s*(\w+).*"`, seedr.SnakeFieldMapper(),
		),
	),
)

Functions

This section is empty.

Types

type TimeSequence

type TimeSequence struct {
	// contains filtered or unexported fields
}

TimeSequence implements seedr.Generator, and it is an example of custom generator

func (*TimeSequence) Next

func (ts *TimeSequence) Next() interface{}

Jump to

Keyboard shortcuts

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