Categorygithub.com/sebmak/go_util
modulepackage
0.1.2
Repository: https://github.com/sebmak/go_util.git
Documentation: pkg.go.dev

# README

go_util

Go Utility Methods

# Functions

GenRandomBase32Bytes generates random number of bytes in base32 format.
GetEnvVariable get environment variable with default.
GetEnvVariableInt64 returns the environment variable as an int64.
Logger returns a new logger.
ResponseWithJSON is for returning json.
ReturnGeneric is for returning a generic response.

# Structs

GenericResponse is the structure for the error response messages.