Skip to content
/ golib Public

Generic functions that can be used as a library

Notifications You must be signed in to change notification settings

mikarios/golib

Repository files navigation

golib

Generic functions that can be used as a library

contexts

used for copying contexts in case something needs to run asynchronously and not get canceled if parent ctx is canceled.

dates

used for date related functions.

handler

holds only one function for now. GetRequestParam is used to get a request parameter value from map[string]string | map[string][]string | url.Values

hid

creates a unique human readable ID (not safe for scaling)

logger

a wrap of logrus that I prefer

pointers

is used to be able to write one-liners

queue

a wrapper for rabbitmq. TODO: convert it to interface or plugin to support different queues

routerwrapper

provides better way to create APIs with optional query parameters

slices

holds common functions for slices

stringtools

holds common functions for strings


Go version code coverage License: MIT
Stars Forks Issues

About

Generic functions that can be used as a library

Resources

Stars

Watchers

Forks

Packages

No packages published