cmd

package
v0.2.4 Latest Latest
Warning

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

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

Documentation

Overview

Package cmd is our cobra/viper cli implementation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingNATSCreds = errors.New("nats creds are required")

ErrMissingNATSCreds is returned when nats creds are not provided

Functions

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.

func RunMigration

func RunMigration(db *sql.DB)

RunMigration is meant to assist when manually running a migration or when the migration is embedded.

Types

This section is empty.

Jump to

Keyboard shortcuts

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