seeds

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package seeds seeds the database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Seed

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

Seed struct.

func NewSeed

func NewSeed(db *sqlx.DB) Seed

NewSeed return a Seed with a pool of connection to a dabase.

func (Seed) ProductsSeed

func (s Seed) ProductsSeed()

ProductsSeed seeds product data.

func (Seed) RolesSeed

func (s Seed) RolesSeed()

RolesSeed seeds roles data.

func (Seed) UsersSeed

func (s Seed) UsersSeed()

UsersSeed seeds roles data.

Jump to

Keyboard shortcuts

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