Categorygithub.com/mikarios/golib
repository
1.2.0
Repository: https://github.com/mikarios/golib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

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