x

module
v0.0.0-...-b4a68df Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT

README

exp

Go Reference Build Status

This repository contains experimental packages currently being evaluated. The goal is to cultivate highly reusable, useful and composable packages. For the sake of simplicity, all packages are contained in a single Go module and imported as go.chrisrx.dev/x/<subpackage>.

When a package proves useful and the API stabilizes, it will be considered for promotion to its own Go module. For example, packages like ptr are reasonably stable and have proven the test of time and will eventually be moved to another repository in a new Go module, changing the import path:

// old
import "go.chrisrx.dev/x/ptr"

// new
import "go.chrisrx.dev/ptr"

Directories

Path Synopsis
Package assert provides functions for writing assertions in tests.
Package assert provides functions for writing assertions in tests.
internal/diff
Package diffp implements a basic diff algorithm equivalent to patience diff.
Package diffp implements a basic diff algorithm equivalent to patience diff.
Package backoff provides a simple implementation of exponential backoff.
Package backoff provides a simple implementation of exponential backoff.
Package chans defines various functions for working with Go channels.
Package chans defines various functions for working with Go channels.
Package convert provides functions for registering and using functions that convert from one Go type to another.
Package convert provides functions for registering and using functions that convert from one Go type to another.
Package env provides functions for loading structs from environment variables.
Package env provides functions for loading structs from environment variables.
Package errors is a mostly drop-in replacement for the standard library errors package.
Package errors is a mostly drop-in replacement for the standard library errors package.
Package future provides types for representing values that are not immediately ready.
Package future provides types for representing values that are not immediately ready.
Package group provides types for managing pools of goroutines.
Package group provides types for managing pools of goroutines.
internal
Package must provides functions for handling errors and panics.
Package must provides functions for handling errors and panics.
Package ptr contains functions for handling pointer values.
Package ptr contains functions for handling pointer values.
Package safe provides various functions and types for handling or restricting unsafe behavior.
Package safe provides various functions and types for handling or restricting unsafe behavior.
Package set provides an implementation of a set which accepts any values, even if not comparable.
Package set provides an implementation of a set which accepts any values, even if not comparable.
Package stack provides functions for getting caller information from the Go runtime.
Package stack provides functions for getting caller information from the Go runtime.
Package sync provides synchronization primitives not found in the standard library sync package.
Package sync provides synchronization primitives not found in the standard library sync package.

Jump to

Keyboard shortcuts

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