pkg

package module
v0.0.0-...-abe4fc6 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

README

A collection of opensource go utility packages

This project contains a collection of utility packages that we very often need to use as part of some of our other opensource projects.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
cmd/auth command
Package cachehash generates non-cryptographic cache keys.
Package cachehash generates non-cryptographic cache keys.
filecache is a simple local file-based cache
filecache is a simple local file-based cache
Package fileutil provides utilities for working with files and paths in a safe and convenient way.
Package fileutil provides utilities for working with files and paths in a safe and convenient way.
Package httpmock provides a simple, declarative API for testing HTTP clients.
Package httpmock provides a simple, declarative API for testing HTTP clients.
Package optional provides a generic Option[T] type and helpers for representing values that may or may not be present.
Package optional provides a generic Option[T] type and helpers for representing values that may or may not be present.
Package osdir provides a cross-platform interface for well-known system and user directories.
Package osdir provides a cross-platform interface for well-known system and user directories.
Package redact implements functions to redact sensitive information from errors.
Package redact implements functions to redact sensitive information from errors.
runx
cmd/pkg command
cmd/runx command
impl/github
Wrapper around a github client that exposes the requests and responses using our defined types.
Wrapper around a github client that exposes the requests and responses using our defined types.
Package serror provides structured error handling for Go applications.
Package serror provides structured error handling for Go applications.
Package stackerr annotates errors with their source filename and line number.
Package stackerr annotates errors with their source filename and line number.
Package system provides an abstraction layer for filesystem and I/O operations, making it easier to write testable code by allowing dependency injection of system-level interfaces.
Package system provides an abstraction layer for filesystem and I/O operations, making it easier to write testable code by allowing dependency injection of system-level interfaces.
Package try provides a generic Try type for handling operations that can either succeed with a value or fail with an error.
Package try provides a generic Try type for handling operations that can either succeed with a value or fail with an error.
Package xdg provides access to XDG Base Directory Specification paths.
Package xdg provides access to XDG Base Directory Specification paths.

Jump to

Keyboard shortcuts

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