environment

package
v0.0.0-...-d6fed07 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitEnv

func InitEnv(db *sql.DB)

func Insert

func Insert(db *sql.DB, env Environment) (int64, error)

Types

type EnvArray

type EnvArray struct {
	// contains filtered or unexported fields
}

func NewEnvArray

func NewEnvArray(input ...string) *EnvArray

func (*EnvArray) GetHash

func (env *EnvArray) GetHash() string

func (*EnvArray) GetLookup

func (env *EnvArray) GetLookup() *map[string]string

func (*EnvArray) String

func (env *EnvArray) String() string

type Environment

type Environment interface {
	GetHash() string
	GetLookup() *map[string]string
	String() string
}

Jump to

Keyboard shortcuts

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