Directories ¶
Path | Synopsis |
---|---|
_deprecated
|
|
toml
Package toml implements decoding and encoding of TOML files.
|
Package toml implements decoding and encoding of TOML files. |
toml/cmd/toml-test-decoder
Command toml-test-decoder satisfies the toml-test interface for testing TOML decoders.
|
Command toml-test-decoder satisfies the toml-test interface for testing TOML decoders. |
toml/cmd/toml-test-encoder
Command toml-test-encoder satisfies the toml-test interface for testing TOML encoders.
|
Command toml-test-encoder satisfies the toml-test interface for testing TOML encoders. |
toml/cmd/tomlv
Command tomlv validates TOML documents and prints each key's type.
|
Command tomlv validates TOML documents and prints each key's type. |
Package automaxprocs automatically sets GOMAXPROCS to match the Linux container CPU quota, if any.
|
Package automaxprocs automatically sets GOMAXPROCS to match the Linux container CPU quota, if any. |
internal/cgroups
Package cgroups provides utilities to access Linux control group (CGroups) parameters (CPU quota, for example) for a given process.
|
Package cgroups provides utilities to access Linux control group (CGroups) parameters (CPU quota, for example) for a given process. |
maxprocs
Package maxprocs lets Go programs easily configure runtime.GOMAXPROCS to match the configured Linux CPU quota.
|
Package maxprocs lets Go programs easily configure runtime.GOMAXPROCS to match the configured Linux CPU quota. |
aztec
Package aztec can create Aztec Code barcodes
|
Package aztec can create Aztec Code barcodes |
codabar
Package codabar can create Codabar barcodes
|
Package codabar can create Codabar barcodes |
code128
Package code128 can create Code128 barcodes
|
Package code128 can create Code128 barcodes |
code39
Package code39 can create Code39 barcodes
|
Package code39 can create Code39 barcodes |
code93
Package code93 can create Code93 barcodes
|
Package code93 can create Code93 barcodes |
datamatrix
Package datamatrix can create Datamatrix barcodes
|
Package datamatrix can create Datamatrix barcodes |
ean
Package ean can create EAN 8 and EAN 13 barcodes.
|
Package ean can create EAN 8 and EAN 13 barcodes. |
pdf417
Package pdf417 can create PDF-417 barcodes
|
Package pdf417 can create PDF-417 barcodes |
qr
Package qr can be used to create QR barcodes.
|
Package qr can be used to create QR barcodes. |
twooffive
Package twooffive can create interleaved and standard "2 of 5" barcodes.
|
Package twooffive can create interleaved and standard "2 of 5" barcodes. |
utils
Package utils contain some utilities which are needed to create barcodes
|
Package utils contain some utilities which are needed to create barcodes |
Package cmp determines equality of values.
|
Package cmp determines equality of values. |
cmpopts
Package cmpopts provides common options for the cmp package.
|
Package cmpopts provides common options for the cmp package. |
internal/diff
Package diff implements an algorithm for producing edit-scripts.
|
Package diff implements an algorithm for producing edit-scripts. |
internal/function
Package function provides functionality for identifying function types.
|
Package function provides functionality for identifying function types. |
internal/teststructs/foo1
Package foo is deliberately named differently than the parent directory.
|
Package foo is deliberately named differently than the parent directory. |
internal/teststructs/foo2
Package foo is deliberately named differently than the parent directory.
|
Package foo is deliberately named differently than the parent directory. |
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
|
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces. |
package cpuinfo provides information about the CPU running the current program.
|
package cpuinfo provides information about the CPU running the current program. |
cmd/cpuid
package cpuinfo provides information about the CPU running the current program.
|
package cpuinfo provides information about the CPU running the current program. |
Package cron implements a cron spec parser and job runner.
|
Package cron implements a cron spec parser and job runner. |
Package crypto provides a high level, secure, easy to use, and hard to misuse API to common cryptographic operations.
|
Package crypto provides a high level, secure, easy to use, and hard to misuse API to common cryptographic operations. |
blake3
Package blake3 implements the BLAKE3 cryptographic hash function.
|
Package blake3 implements the BLAKE3 cryptographic hash function. |
blake3/bao
Package bao implements BLAKE3 verified streaming.
|
Package bao implements BLAKE3 verified streaming. |
blake3/guts
Package guts provides a low-level interface to the BLAKE3 cryptographic hash function.
|
Package guts provides a low-level interface to the BLAKE3 cryptographic hash function. |
chacha
Package chacha implements some low-level functions of the ChaCha cipher family.
|
Package chacha implements some low-level functions of the ChaCha cipher family. |
chacha20
Package chacha20 implements the ChaCha20 / XChaCha20 stream chipher.
|
Package chacha20 implements the ChaCha20 / XChaCha20 stream chipher. |
deprecated
|
|
check
Package check is a rich testing extension for Go's testing package.
|
Package check is a rich testing extension for Go's testing package. |
pretty
Package pretty provides pretty-printing for Go values.
|
Package pretty provides pretty-printing for Go values. |
text
Package text provides rudimentary functions for manipulating text in paragraphs.
|
Package text provides rudimentary functions for manipulating text in paragraphs. |
text/cmd/agg
Agg computes aggregate values over tabular text.
|
Agg computes aggregate values over tabular text. |
text/colwriter
Package colwriter provides a write filter that formats input lines in multiple columns.
|
Package colwriter provides a write filter that formats input lines in multiple columns. |
text/mc
Command mc prints in multiple columns.
|
Command mc prints in multiple columns. |
Package difflib is a partial port of Python difflib module.
|
Package difflib is a partial port of Python difflib module. |
Package dotenv is a go port of the ruby dotenv library (https://github.com/bkeepers/dotenv)
|
Package dotenv is a go port of the ruby dotenv library (https://github.com/bkeepers/dotenv) |
Package email provides an easy to use and hard to misuse email API
|
Package email provides an easy to use and hard to misuse email API |
Syndication (feed) generator library for golang.
|
Syndication (feed) generator library for golang. |
go-gitdiff
|
|
gitdiff
Package gitdiff parses and applies patches generated by Git.
|
Package gitdiff parses and applies patches generated by Git. |
package highlighting is a extension for the goldmark(http://github.com/yuin/goldmark).
|
package highlighting is a extension for the goldmark(http://github.com/yuin/goldmark). |
Taken from $GOROOT/src/pkg/net/http/chunked needed to write https responses to client.
|
Taken from $GOROOT/src/pkg/net/http/chunked needed to write https responses to client. |
ext/html
// extension to goproxy that will allow you to easily filter web browser related content.
|
// extension to goproxy that will allow you to easily filter web browser related content. |
Package gostub is used for stubbing variables in tests, and resetting the original value once the test has been run.
|
Package gostub is used for stubbing variables in tests, and resetting the original value once the test has been run. |
Package guid helps generate and parse GUIDs.
|
Package guid helps generate and parse GUIDs. |
cors
Package cors is net/http handler to handle CORS related requests as defined by http://www.w3.org/TR/cors/
|
Package cors is net/http handler to handle CORS related requests as defined by http://www.w3.org/TR/cors/ |
Package imaging provides basic image processing functions (resize, rotate, crop, brightness/contrast adjustments, etc.).
|
Package imaging provides basic image processing functions (resize, rotate, crop, brightness/contrast adjustments, etc.). |
log
|
|
slogx
package slogx provides various helpers to wrok with the stdlib's "log/slog" package see https://pkg.go.dev/log/slog https://gist.github.com/wijayaerick/de3de10c47a79d5310968ba5ff101a19 https://github.com/golang/go/issues/56345 https://go.googlesource.com/proposal/+/master/design/56345-structured-logging.md https://github.com/golang/go/wiki/Resources-for-slog
|
package slogx provides various helpers to wrok with the stdlib's "log/slog" package see https://pkg.go.dev/log/slog https://gist.github.com/wijayaerick/de3de10c47a79d5310968ba5ff101a19 https://github.com/golang/go/issues/56345 https://go.googlesource.com/proposal/+/master/design/56345-structured-logging.md https://github.com/golang/go/wiki/Resources-for-slog |
package mmdb provides a reader for the MaxMind DB file format.
|
package mmdb provides a reader for the MaxMind DB file format. |
money
|
|
Package namesgenerator generates random names.
|
Package namesgenerator generates random names. |
netx
|
|
reuseport
Package reuseport provides Listen and Dial functions that set socket options in order to be able to reuse ports.
|
Package reuseport provides Listen and Dial functions that set socket options in order to be able to reuse ports. |
Package objx provides utilities for dealing with maps, slices, JSON and other data.
|
Package objx provides utilities for dealing with maps, slices, JSON and other data. |
package opt provides optional types.
|
package opt provides optional types. |
package otc provides alphanumeric One Time Codes that can be used for email-based 2FA, account verification and more.
|
package otc provides alphanumeric One Time Codes that can be used for email-based 2FA, account verification and more. |
Package otp implements both HOTP and TOTP based one time passcodes in a Google Authenticator compatible manner.
|
Package otp implements both HOTP and TOTP based one time passcodes in a Google Authenticator compatible manner. |
interop
Module
|
|
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
|
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags. |
Simple library for retry mechanism
|
Simple library for retry mechanism |
Package reuseport provides Listen and Dial functions that set socket options in order to be able to reuse ports.
|
Package reuseport provides Listen and Dial functions that set socket options in order to be able to reuse ports. |
package routingtable provides a routing table that implements the Allotment Routing Table (ART) algorithm by Donald Knuth, as described in the paper by Yoichi Hariguchi.
|
package routingtable provides a routing table that implements the Allotment Routing Table (ART) algorithm by Donald Knuth, as described in the paper by Yoichi Hariguchi. |
Package gorilla/schema fills a struct with form values.
|
Package gorilla/schema fills a struct with form values. |
Package singleinstance provides a mechanism to ensure, that only one instance of a program is running
|
Package singleinstance provides a mechanism to ensure, that only one instance of a program is running |
Package spew implements a deep pretty printer for Go data structures to aid in debugging.
|
Package spew implements a deep pretty printer for Go data structures to aid in debugging. |
Package sysinfo is a Go library providing Linux OS / kernel / hardware system information.
|
Package sysinfo is a Go library providing Linux OS / kernel / hardware system information. |
cmd/sysinfo
sysinfo is a very simple utility demonstrating sysinfo library capabilities.
|
sysinfo is a very simple utility demonstrating sysinfo library capabilities. |
cpuid
Package cpuid gives Go programs access to CPUID opcode.
|
Package cpuid gives Go programs access to CPUID opcode. |
** We are working on testify v2 and would love to hear what you'd like to see in it, have your say here: https://cutt.ly/testify ** Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend.
|
** We are working on testify v2 and would love to hear what you'd like to see in it, have your say here: https://cutt.ly/testify ** Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. |
assert
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
|
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system. |
assert/internal/unsafetests
This package exists just to isolate tests that reference the unsafe package.
|
This package exists just to isolate tests that reference the unsafe package. |
assert/yaml
Package yaml is just an indirection to handle YAML deserialization.
|
Package yaml is just an indirection to handle YAML deserialization. |
http
Deprecated: Use net/http/httptest instead.
|
Deprecated: Use net/http/httptest instead. |
mock
Package mock provides a system by which it is possible to mock your objects and verify calls are happening as expected.
|
Package mock provides a system by which it is possible to mock your objects and verify calls are happening as expected. |
require
Package require implements the same assertions as the `assert` package but stops test execution when a test fails.
|
Package require implements the same assertions as the `assert` package but stops test execution when a test fails. |
suite
Package suite contains logic for creating testing suite structs and running the methods on those structs as tests.
|
Package suite contains logic for creating testing suite structs and running the methods on those structs as tests. |
tools
|
|
watchgod
watchgod is a very simple compile daemon for Go.
|
watchgod is a very simple compile daemon for Go. |
Package uuid generates and inspects UUIDs.
|
Package uuid generates and inspects UUIDs. |
Package govalidator is package of validators and sanitizers for strings, structs and collections.
|
Package govalidator is package of validators and sanitizers for strings, structs and collections. |
Package yaml implements YAML support for the Go language.
|
Package yaml implements YAML support for the Go language. |
Click to show internal directories.
Click to hide internal directories.