dogego_module_dbseeder

package module
v0.0.0-...-d095d73 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: MIT Imports: 2 Imported by: 0

README

dogego_module_dbseeder

DogeGo数据库Seed工具.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBSeeder

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

func NewSeeder

func NewSeeder(masterDB *gorm.DB, slaveDB *gorm.DB) *DBSeeder

func (*DBSeeder) Seed

func (seeder *DBSeeder) Seed(table_name string, seed_list []interface{}) *DBSeeder

Jump to

Keyboard shortcuts

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