This package provides a simple Go API to Linux's perf_event_open, supporting event counters and a basic set of events.
This package provides validators and sanitizers for strings, structs and collections. It was based on validator.js.
This package provides an implementation DNS over HTTPS resolver as specified in RFC 8484.
GoConvey is a testing tool for Go. It integrates with go test, can show test coverage and has a web user interface that will refresh automatically.
This package provides a Go implementation of bitsets, which are a mapping between non-negative integers and boolean values focused on efficient space usage.
Shellquote provides utilities for joining/splitting strings using sh's word-splitting rules.
It's an alternative fork of https://github.com/kballard/go-shellquote.
Package reference provides a general type to represent any way of referencing images within the registry. Its main purpose is to abstract tags and digests (content-addressable hash).
This package provides go-restful, which helps developers to use http methods explicitly and in a way that's consistent with the HTTP protocol definition.
Package smbios provides detection and access to System Management BIOS (SMBIOS) and Desktop Management Interface (DMI) data and structures.
Open a file, directory, or URI using the OS's default application for that object type. Optionally, you can specify an application to use. On GNU/Linux, this is a proxy for the xdg-open command.
Package csvvalue provides an efficient parser for a single line CSV value. It is more efficient than the standard library csv package for parsing many small values. For multi-line CSV parsing, the standard library is recommended.
@urlhttps://esbuild.github.io/,Website | @urlhttps://esbuild.github.io/getting-started/,Getting started | @urlhttps://esbuild.github.io/api/,Documentation | @urlhttps://esbuild.github.io/plugins/,Plugins | @urlhttps://esbuild.github.io/faq/,FAQ.
This extension to Arzilli's Golua adds Unicode support to all functions from the Lua string library. Lua patterns are replaced by Go regexps. This breaks compatibility with Lua, but Unicode support breaks it anyways and Go regexps are more powerful.
This package provides a simple API to perform JSON unmarshalling. It supports unmarshalling of some known and some unknown fields with zero performance overhead. While unmarshalling, it allows fully retaining the original data and access it via a typed struct and a dynamic map.
This package provides an additinal Golang modules for error handling in containerd projects.
errgrpc - provides utility functions for translating errors to and from a gRPC context
errhttp - provides utility functions for translating errors to and from a HTTP context
Package scrypt provides a convenience wrapper around Go's existing crypto/scrypt package that makes it easier to securely derive strong keys from weak inputs (i.e. user passwords). The package provides password generation, constant-time comparison and parameter upgrading for scrypt derived keys.
This library is an implementation of backoff algorithm for retrying operations. It respects context.Context natively, and the critical notifications are done through channel operations, allowing you to write code that is both more explicit and flexibile.
This package provides a re-implementation of Julien Schmidt's httprouter, in that it uses a patricia tree, but the logic is rather different. Specifically, the routing rules are relaxed so that a single path segment may be a wildcard in one route and a static token in another.
This package implements an extension of Table-Driven Testing. Instead of building and iterating over a table in the test code, the input is further separated into files (or inline strings). For certain classes of tests, this can significantly reduce the friction involved in writing and reading these tests.
This package provides a very simple thread-safe progress bar. The progressbar implements an io.Writer so it can automatically detect the number of bytes written to a stream, so you can use it as a progressbar for an io.Reader. When progressbar's length is undetermined, a customizable spinner is shown.
This package provides a UEFI library written to interact with Linux efivars. The goal is to provide a Go library to enable application authors to better utilize secure boot and UEFI. This also includes unit-testing to ensure the library is compatible with existing tools, and integration tests to ensure the library is able of deal with future UEFI revisions.
This package provides a very simple thread-safe progress bar which should work on every OS without problems. I needed a progressbar for croc and everything I tried had problems, so I made another one. In order to be OS agnostic I do not plan to support multi-line outputs.
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 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