seeding

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSeedFile

func GenerateSeedFile(env string, filename string)

func SeedDatabase

func SeedDatabase(env string)

SeedDatabase parses the seed YAML file for the given environment and populates the associated database.

Types

type TableMap

type TableMap struct {
	TableName string
	Objects   []map[string]string
}

Jump to

Keyboard shortcuts

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