seeds

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(db *sqlx.DB, driver string, seedMethodNames ...string)

Execute will executes the given seeder method.

Types

type Seed

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

Seed type.

func (Seed) CustomerSeed

func (s Seed) CustomerSeed()

CustomerSeed seeds the database with customers.

func (Seed) ProductSeed

func (s Seed) ProductSeed()

ProductSeed seeds product data.

func (Seed) UserSeed

func (s Seed) UserSeed()

UserSeed seeds the database with users.

Jump to

Keyboard shortcuts

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