TTLCache is an in-memory cache with item expiration and generics which provides the following features:
simple API
type parameters
item expiration and automatic deletion
automatic expiration time extension on each Get call
loader interface that may be used to load/lazily initialize missing citem items
thread safety
event handlers (insertion, update, and eviction)
metrics
The Go standard library contains a default http.Client and it is a common idiom to tweak it as necessary. Unfortunately, this is a shared value, and it is not uncommon for libraries to assume that they are free to modify it at will. This package provides some simple functions to get a "clean" http.Client, namely one that uses the same default values as the Go standard library, but returns a client that does not share any state with other clients.
This package provides a high-level API for the creation of slide decks using the structures of the deck package (github.com/ajstarks/deck). Initialization of the package specifies the io.Writer destination for the generated markup, along with the width and height of the slides's canvas. Each deck element (text, list, image, rect, ellipse, line, curve, arc, and polygon) are supported. Slides use a percentage-based coordinate system (origin at the lower left corner, x increasing left to right, 0-100%, y increasing upwards, 0-100%).
This package generates ASCII tables. Features:
automatic Padding
support Multiple Lines
supports Alignment
support Custom Separators
automatic Alignment of numbers and percentage
write directly to http , file etc via
io.Writerread directly from CSV file
optional row line via
SetRowLinenormalise table header
make CSV Headers optional
enable or disable table border
set custom footer support
optional identical cells merging
set custom caption
optional reflowing of paragrpahs in multi-line cells
This package implements GNU gettext utilities in Go. It features:
Implements GNU gettext support in native Go.
Complete support for PO files including:
Support for MO files.
Thread-safe: This package is safe for concurrent use across multiple goroutines.
It works with UTF-8 encoding as it's the default for Go language.
Unit tests available.
Language codes are automatically simplified from the form en_UK to en if the first isn't available.
Ready to use inside Go templates.
Objects are serializable to []byte to store them in cache.
Support for Go Modules.
This package provides a git implementation in pure Go. It's a modified fork of original go-git/go-git project.
Package blackfriday is a markdown processor.
Various cryptographic utilities used by IPFS
Blackfriday is a Markdown processor in Go.
Package cellbuf provides terminal cell buffer functionality.
This package provides text transformation utilities in Go.
This package provides a token bucket implementation in Golang.
This package provides data model artifacts for Prometheus.
This package provides a Go implementation of several rolling hashes.
bluemonday is a HTML sanitizer implemented in Go.
This package provides a tun2socks implementation written in Go.
A simple, efficient spring animation library for smooth, natural motion.
This package provides the Windows API used at Charmbracelet.
This package provides mocking utilities for unit tests in Go.
This package provides a linter to find named returns in Go code.
This package provides an implementation of JSON Reference for the Go programming language.
This package provides a Go library to run a command after login.
This package implements signed records for use wit IPFS routing systems.
go-github-com-vividcortex-gohistogram contains implementations of weighted and exponential histograms.