This package allows the kernel's routing tables to be read and altered. Network routes, IP addresses, Link parameters, Neighbor setups,Queueing disciplines, Traffic classes and Packet classifiers may all be controlled. It is based on netlink messages.
copystructure is a Go library for deep copying values in Go.
This allows you to copy Go values that may contain reference values such as maps, slices, or pointers, and copy their data as well instead of just their references.
This package provides a High Performance, Feature-Rich Idiomatic codec/encoding library for msgpack, JSON.
Supported Serialization formats are:
msgpack: https://github.com/msgpack/msgpack
json: http://json.org http://tools.ietf.org/html/rfc7159
Package mode provides a native Go implementation of BSD's setmode and getmode which can be used to modify the mode bits of an os.FileMode value based on a symbolic value as described by the Unix chmod command.
uritemplate is a Go implementation of URI Template RFC6570 with full functionality of URI Template Level 4. It can also generate a regexp that matches expansion of the URI Template from a URI Template.
This package implements OVSDB specified in RFC 7047. It's used mainly for managing the configuration of Open vSwitch and OVN, but it could also be used to manage your stamp collection.
webtransport-go is an implementation of the WebTransport protocol, based on @urlhttps://github.com/quic-go/quic-go,quic-go. It currently implements @urlhttps://www.ietf.org/archive/id/draft-ietf-webtrans-http3-02.html,draft-02 of the specification.
Package httpforwarded is a helper package for parsing the Forwarded HTTP header as defined in https://www.rfc-editor.org/rfc/rfc7239. There is a function for parsing the value of multiple Forwarded headers, and a function for formatting a Forwarded header.
EditorConfig makes it easy to maintain the correct coding style when switching between different text editors and between different projects. It maintains a file format and plugins for various text editors which allow this file format to be read and used by those editors.
This package defines functions that demangle GCC/LLVM C++ and Rust symbol names. This package recognizes names that were mangled according to the C++ ABI defined at https://codesourcery.com/cxx-abi/ and the Rust ABI.
Package hyperloglog implements the HyperLogLog and HyperLogLog++ cardinality estimation algorithms. These algorithms are used for accurately estimating the cardinality of a multiset using constant memory. HyperLogLog++ has multiple improvements over HyperLogLog, with a much lower error rate for smaller cardinalities.
This package implements semantic processing of JSON as specified in RFC 8259. JSON is a simple data interchange format that can represent primitive data types such as booleans, strings, and numbers, in addition to structured data types such as objects and arrays.
go-multierror is Golang module providing a mechanism for representing a list of error values as a single error. It is fully compatible with the standard errors package, including the functions As, Is, and Unwrap. This provides a standardized approach for introspecting on error values.
Package pretty provides pretty-printing for Go values. This is useful during debugging, to avoid wrapping long output lines in the terminal.
It provides a function, Formatter, that can be used with any function that accepts a format string. It also provides convenience wrappers for functions in packages fmt and log.
Paths is a library that provides a set of utilities to work with file paths in a platform-independent way. It includes functions for creating temporary directories and files, handling null paths, and more. It is designed to be used in Go applications that require file system operations without worrying about platform-specific details.
JWW is primarily a wrapper around the standard log library. It provides a few advantages over using the standard log library alone.
ready to go out of the box
one library for both printing to the terminal and logging (to files)
really easy to log to either a temp file or a file you specify
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 is a package for detecting MIME types and extensions based on magic numbers. Features include
fast and precise MIME type and file extension detection
long list of supported MIME types
common file formats are prioritized
small and simple API
handles MIME type aliases
thread safe
low memory usage, besides the file header
Package jsonschema uses reflection to generate JSON Schemas from Go types.
Features:
supports arbitrarily complex types, including interface, maps, slices, etc.
supports json-schema features such as minLength, maxLength, pattern, format, etc.
supports simple string and numeric enums
supports custom property fields via the jsonschema_extras struct tag
This package is a modified clone of github.com/invopop/jsonschema for purpose of LazyGit project.
The Alertmanager handles alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integrations such as email, PagerDuty, OpsGenie, or many other mechanisms thanks to the webhook receiver. It also takes care of silencing and inhibition of alerts.
Package snowflake is a network service for generating unique ID numbers at high scale with some simple guarantees. The ID generated by the snowflake algorithm is not guaranteed to be unique. For example, when two different requests enter the same machine at the same time, and the sequence generated by the node is the same, the generated ID will be duplicated. It's an alternative fork of https://github.com/godruoyi/go-snowflake.
This package provides a Golang module that uses magic number signatures to detect the MIME type of a file.
Main features:
Fast and precise MIME type and file extension detection.
Supports many MIME types.
Allows to extend with other file formats.
Common file formats are prioritized.
Safe for concurrent usage.
This package provides a GitLab API client enabling Go programs to interact with GitLab in a simple and uniform way.
This package provides Prometheus assets.