Categorygithub.com/mitchs-dev/library-go
module
0.0.16
Repository: https://github.com/mitchs-dev/library-go.git
Documentation: pkg.go.dev

# README

Go Library

Go Reference

What is this?

This is a Go library which I use to provide standardizations across my Go projects. All packages included in this library are meant to be well documented so that they could be used for any Go project.

How to use this library?

It's very easy to use this library. You can simply import the package you want to use in your project. You will want to use the following path: github.com/mitchs-dev/library-go/<package-name>.

For example, if you want to use the generator package, you can simply import it in your project like this:


import (
    "github.com/mitchs-dev/library-go/generator"
    "fmt"

)

func main() {
    fmt.Println("Here's a random string: " + generator.RandomString(10))
}

Note: Don't forget to get the package by running go get -u github.com/mitchs-dev/library-go/generator or go mod tidy if you're using Go modules.

# Packages

Package provides archiving functions */.
Package badger provides a wrapper functions for Badger database interactions.
This package provides functions to interact with configuration files.
No description provided by the author
This package contains functions for date and time manipulation */.
Packge name: encryption This package provides a simple method of encrypting and decrypting strings using key which can be generated using the GenerateKey() function.
Package generator provides functions to generate things, such as: random strings, timestamps, and correlation IDs, etc */.
Package hmac provides a simple way to verify a message Original Author: github.com/alexellis */.
Package jwt provides functions for JWT token manipulation */.
This package is used to rotate log files.
This package is used provide a standardized format for loggers using the sirupsen/logrus package.
This package is used to provide networking functionality to a package.
Package processor provides functions for file and directory manipulation */.
Package redisTools provides a wrapper functions for Redis database interactions.
This package provides a standardized approach to handling request schemas */.
Package streaming provides functions for encoding and decoding base64 strings.
No description provided by the author
This package provides an interface to create, delete, and process webhook payloads.