Help us shape the future of Go! Take the 2026 Go Developer Survey

initializer

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Initializer

type Initializer struct {
	app.Service
	// contains filtered or unexported fields
}

Initializer defines the configuration required for initailizer to populate the tables

func New

func New(api app.BaseConfig) *Initializer

New returns the Initializer implementation.

func (*Initializer) Run

func (i *Initializer) Run(ctx context.Context) (*model.Config, error)

Run executes the func which populate the tables

Jump to

Keyboard shortcuts

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