common

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Debug             = "DEBUG"
	ProviderTableName = "PROVIDER_TABLE_NAME"
)
View Source
const (
	PathSep = string(os.PathSeparator)
)

Variables

This section is empty.

Functions

func FromPrivateError

func FromPrivateError(private error, pubMsg string) handlerError

func FromPublicError

func FromPublicError(err error) handlerError

func Get

func Get(s string) string

func GetBool

func GetBool(s string) bool

func NewPublicError

func NewPublicError(s string) handlerError

Types

type Env

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

func (*Env) Get

func (o *Env) Get(s string) string

func (*Env) GetBool

func (o *Env) GetBool(s string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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