helpers

package module
v0.0.0-...-373ef48 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: MIT Imports: 5 Imported by: 0

README

helpers

Небольшая либа полезных штук для работы

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FailOnError = failOnError

Functions

func GetEnvIntWithDefaultValue

func GetEnvIntWithDefaultValue(name string, defValue int) int

func GetEnvStringWithDefaultValue

func GetEnvStringWithDefaultValue(name string, defValue string) string

func GetRequiredEnvString

func GetRequiredEnvString(name string) string

func LogInfoError

func LogInfoError(method string, err error)

func SetIrisCtxError

func SetIrisCtxError(ctx iris.Context, err error, statusCode int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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