app

package
v0.0.0-...-fc7dab2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENV_ROOT = "PEPPERMINT_ROOT"
	ENV      = "PEPPERMINT"
)

Variables

This section is empty.

Functions

func AppInit

func AppInit(app pkg.App) error

func InitDb

func InitDb(app pkg.App, dbFilename string) (pkg.Db, error)

func NewApp

func NewApp(opts interface{}) *app

Types

type AppProfile

type AppProfile struct {
	DbFilename string
}

type EnvString

type EnvString string
const (
	DEV  EnvString = "dev"
	PROD EnvString = "prod"
	TEST EnvString = "test"
)

func (EnvString) String

func (e EnvString) String() string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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