seed

package
v0.4.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Settings = &settings.Settings

Functions

func Metadata

func Metadata(source, target string) (b []byte)

Metadata builds windup metadata.

func Seed

func Seed(db *gorm.DB)

Seed the database with models.

func Target

func Target(t string) (b []byte)

Target builds metadata.

Types

type RuleBundle

type RuleBundle struct {
	model.RuleBundle
	// contains filtered or unexported fields
}

RuleBundle seed object.

func (*RuleBundle) Create

func (r *RuleBundle) Create(db *gorm.DB)

Create resources and files.

Jump to

Keyboard shortcuts

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