storage

package
v0.0.0-...-7dc802a Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StorageClearCommand = &cobra.Command{
	Use:   "clear",
	Short: "clear data storage",
	Run:   clearCmd,
}

StorageClearCommand remove data from db

View Source
var StorageCommand = &cobra.Command{
	Use:   "storage",
	Short: "data storage managing",
}

StorageCommand main data storage managing command

View Source
var StorageSeedCommand = &cobra.Command{
	Use:   "seed",
	Short: "seed database with initial data",
	Run:   seedCmd,
}

StorageSeedCommand seed data storage with initial data

Functions

func Clear

func Clear()

Clear clear fixtures

func Init

func Init()

Init ...

func Migrate

func Migrate()

func Seed

func Seed()

Seed default fixtures

Types

This section is empty.

Jump to

Keyboard shortcuts

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