utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LOG_LEVEL string = "info"
)

Functions

func CheckErr

func CheckErr(err error, logger *zap.SugaredLogger)

func CreateLogger added in v1.2.0

func CreateLogger() *zap.Logger

func HTTPCheckErr

func HTTPCheckErr(w http.ResponseWriter, err error)

func Max

func Max(x, y int) int

func Min

func Min(x, y int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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