gadget

module
v0.0.0-...-00e7cc2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: MIT

README

CircleCI

Gadget

Various utility packages for golang

Installation

import "github.com/Kasita-Inc/gadget"

Packages

buffer

collection

Implementations of sets and other collections

crypto

Simplifies the use of several encryption methods

database

A record based mysql database ORM that includes a linq style Query Builder

dispatcher

environment

Methods for reading values from the environment to populate decorated structs

errors

An error package that incorporates stack traces

fileutil

Utility methods for file handling

generator

Methods for creating random numbers and strings

generics

A struct for managing a variety of data types in a single variable

intutil

Utility methods for handling Min / Max for integers

log

A logging package that includes log levels

net

Handlers for a variety of network based functionality

storage

Disk / Memory based implementations of a Storage interface

stringutil

Utility methods for strings

timeutil

Utility methods for time

Directories

Path Synopsis
qb
log
Package log provides convenience functions to allow more granular levels of logging Requirements: - structured logging - output will most likely be in json, but that shouldn't be known by the log creators - log levels - limited as possible but convenient and impossible to screw up - convenient setup and integration with standard baseLogger - ability to include system/container/service names in logs by default - include stack traces or other info Requirements: - plain text output to local log file (io.Writer) - structured json output to CloudWatch (or similar service) inputs for each level: error OR printf style
Package log provides convenience functions to allow more granular levels of logging Requirements: - structured logging - output will most likely be in json, but that shouldn't be known by the log creators - log levels - limited as possible but convenient and impossible to screw up - convenient setup and integration with standard baseLogger - ability to include system/container/service names in logs by default - include stack traces or other info Requirements: - plain text output to local log file (io.Writer) - structured json output to CloudWatch (or similar service) inputs for each level: error OR printf style
Package stringutil contains utility functions for working with strings.
Package stringutil contains utility functions for working with strings.

Jump to

Keyboard shortcuts

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