library-go

module
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT

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.

Directories

Path Synopsis
Package provides archiving functions
Package provides archiving functions
This package provides functions to interact with configuration files.
This package provides functions to interact with configuration files.
This package contains functions for date and time manipulation
This package contains functions for date and time manipulation
Packge name: encryption
Packge name: encryption
Package generator provides functions to generate things, such as: random strings, timestamps, and correlation IDs, etc
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
Package hmac provides a simple way to verify a message
Package jwt provides functions for JWT token manipulation
Package jwt provides functions for JWT token manipulation
This package is used to rotate log files.
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 provide a standardized format for loggers using the sirupsen/logrus package.
This package is used to provide networking functionality to a package.
This package is used to provide networking functionality to a package.
Package processor provides functions for file and directory manipulation
Package processor provides functions for file and directory manipulation
Package redisTools provides a wrapper functions for Redis database interactions.
Package redisTools provides a wrapper functions for Redis database interactions.
This package provides a standardized approach to handling request schemas
This package provides a standardized approach to handling request schemas
Package streaming provides functions for encoding and decoding base64 strings.
Package streaming provides functions for encoding and decoding base64 strings.
templates
generic
Provides generic templates for various projects
Provides generic templates for various projects
kubernetes
This package is used for general Kubernetes templates such as kubeconfig files.
This package is used for general Kubernetes templates such as kubeconfig files.
This package provides an interface to create, delete, and process webhook payloads.
This package provides an interface to create, delete, and process webhook payloads.

Jump to

Keyboard shortcuts

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