cmd

package
v0.0.0-...-bf51fc3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

You can use the "packr clean" command to clean up this, and any other packr generated files.

Index

Constants

This section is empty.

Variables

View Source
var Migrations = &migrate.PackrMigrationSource{
	Box: packr.New("Migrations", "../scripts/migrations"),
}

Functions

func BindEnvs

func BindEnvs(iface interface{}, parts ...string) error

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Config

type Config struct {
	PG pg.Config `mapstructure:"PG"`
}
var (
	Conf Config
)

Jump to

Keyboard shortcuts

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