util/

directory
v0.0.0-...-9d29f1b Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: BSD-3-Clause

Directories

Path Synopsis
Package cibuild reports runtime CI information.
Package cibuild reports runtime CI information.
Package clientmetric provides client-side metrics whose values get occasionally logged.
Package clientmetric provides client-side metrics whose values get occasionally logged.
Package cloudenv reports which known cloud environment we're running in.
Package cloudenv reports which known cloud environment we're running in.
Package cmpver implements a variant of debian version number comparison.
Package cmpver implements a variant of debian version number comparison.
Package cmpx has code that will likely land in a future version of Go, but we want sooner.
Package cmpx has code that will likely land in a future version of Go, but we want sooner.
Package codegen contains shared utilities for generating code.
Package codegen contains shared utilities for generating code.
Package cstruct provides a helper for decoding binary data that is in the form of a padded C structure.
Package cstruct provides a helper for decoding binary data that is in the form of a padded C structure.
Package deephash hashes a Go value recursively, in a predictable order, without looping.
Package deephash hashes a Go value recursively, in a predictable order, without looping.
testtype
Package testtype contains types for testing deephash.
Package testtype contains types for testing deephash.
Package dirwalk contains code to walk a directory.
Package dirwalk contains code to walk a directory.
Package dnsname contains string functions for working with DNS names.
Package dnsname contains string functions for working with DNS names.
The goroutines package contains utilities for getting active goroutines.
The goroutines package contains utilities for getting active goroutines.
Package groupmember verifies group membership of the provided user on the local system.
Package groupmember verifies group membership of the provided user on the local system.
Package hashx provides a concrete implementation of hash.Hash that operates on a particular block size.
Package hashx provides a concrete implementation of hash.Hash that operates on a particular block size.
Package httpm has shorter names for HTTP method constants.
Package httpm has shorter names for HTTP method constants.
Package jsonutil provides utilities to improve JSON performance.
Package jsonutil provides utilities to improve JSON performance.
Package lineread reads lines from files.
Package lineread reads lines from files.
linuxfwtest
Package linuxfwtest contains tests for the linuxfw package.
Package linuxfwtest contains tests for the linuxfw package.
Package lru contains a typed Least-Recently-Used cache.
Package lru contains a typed Least-Recently-Used cache.
Package mak helps make maps.
Package mak helps make maps.
Package multierr provides a simple multiple-error type.
Package multierr provides a simple multiple-error type.
Package must assists in calling functions that must succeed.
Package must assists in calling functions that must succeed.
Package osdiag provides loggers for OS-specific diagnostic information.
Package osdiag provides loggers for OS-specific diagnostic information.
Package pidowner handles lookups from process ID to its owning user.
Package pidowner handles lookups from process ID to its owning user.
Package precompress provides build- and serving-time support for precompressed static resources, to avoid the cost of repeatedly compressing unchanging resources.
Package precompress provides build- and serving-time support for precompressed static resources, to avoid the cost of repeatedly compressing unchanging resources.
Package quarantine sets platform specific "quarantine" attributes on files that are received from other hosts.
Package quarantine sets platform specific "quarantine" attributes on files that are received from other hosts.
Package racebuild exports a constant about whether the current binary was built with the race detector.
Package racebuild exports a constant about whether the current binary was built with the race detector.
Package ringbuffer contains a fixed-size concurrency-safe generic ring buffer.
Package ringbuffer contains a fixed-size concurrency-safe generic ring buffer.
Package set contains set types.
Package set contains set types.
Package singleflight provides a duplicate function call suppression mechanism.
Package singleflight provides a duplicate function call suppression mechanism.
Package slicesx contains some helpful generic slice functions.
Package slicesx contains some helpful generic slice functions.
Package sysresources provides OS-independent methods of determining the resources available to the current system.
Package sysresources provides OS-independent methods of determining the resources available to the current system.
Package systemd contains a minimal wrapper around systemd-notify to enable applications to signal readiness and status to systemd.
Package systemd contains a minimal wrapper around systemd-notify to enable applications to signal readiness and status to systemd.
Package testenv provides utility functions for tests.
Package testenv provides utility functions for tests.
Package truncate provides a utility function for safely truncating UTF-8 strings to a fixed length, respecting multi-byte codepoints.
Package truncate provides a utility function for safely truncating UTF-8 strings to a fixed length, respecting multi-byte codepoints.
Package uniq provides removal of adjacent duplicate elements in slices.
Package uniq provides removal of adjacent duplicate elements in slices.
Package vizerror provides types and utility funcs for handling visible errors that are safe to display to end users.
Package vizerror provides types and utility funcs for handling visible errors that are safe to display to end users.
Package winutil contains misc Windows/Win32 helper functions.
Package winutil contains misc Windows/Win32 helper functions.
policy
Package policy contains higher-level abstractions for accessing Windows enterprise policies.
Package policy contains higher-level abstractions for accessing Windows enterprise policies.

Jump to

Keyboard shortcuts

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