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{}
Click to show internal directories.
Click to hide internal directories.