go-toolkit

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT

README

go-toolkit

go-toolkit is a set of utilities for Go projects.

Directories

Path Synopsis
pkg
command
Package command provides a simple facade for running shell commands synchronously.
Package command provides a simple facade for running shell commands synchronously.
config
Package config populates struct fields from registered configuration sources.
Package config populates struct fields from registered configuration sources.
crypto/symmetric
Package symmetric provides authenticated symmetric encryption using AES-GCM.
Package symmetric provides authenticated symmetric encryption using AES-GCM.
database/migration
Package migration provides a framework for orchestrating ordered database migrations.
Package migration provides a framework for orchestrating ordered database migrations.
datastructures/cache
Package cache provides a thread-safe key/value store.
Package cache provides a thread-safe key/value store.
datastructures/heap
Package heap provides a binary heap implementation.
Package heap provides a binary heap implementation.
http/endpoints
Package endpoints provides types and utilities for defining and registering HTTP endpoints.
Package endpoints provides types and utilities for defining and registering HTTP endpoints.
http/headers
Package headers provides constants for common HTTP header names and values.
Package headers provides constants for common HTTP header names and values.
http/middleware
Package middleware provides HTTP middleware chaining for request processing.
Package middleware provides HTTP middleware chaining for request processing.
http/parameters
Package parameters provides HTTP request parameter decoding and validation.
Package parameters provides HTTP request parameter decoding and validation.
http/responders
Package responders provides HTTP response helpers for JSON APIs.
Package responders provides HTTP response helpers for JSON APIs.
http/server
Package server provides a configurable HTTP server with TLS support.
Package server provides a configurable HTTP server with TLS support.
ptr
Package ptr provides utilities for working with pointers in Go.
Package ptr provides utilities for working with pointers in Go.
reflection
Package reflection provides utilities for working with Go's reflect package.
Package reflection provides utilities for working with Go's reflect package.
structs
Package structs provides utilities for inspecting and manipulating Go struct types using reflection.
Package structs provides utilities for inspecting and manipulating Go struct types using reflection.
telemetry
Package telemetry provides APIs for observability and monitoring of applications.
Package telemetry provides APIs for observability and monitoring of applications.
telemetry/metric
Package metric provides types and functions for recording and exporting metrics.
Package metric provides types and functions for recording and exporting metrics.
telemetry/trace
Package trace provides context-based span propagation for tracing operations.
Package trace provides context-based span propagation for tracing operations.
telemetry/trace/attribute
Package attribute provides typed key-value pairs for annotating trace spans.
Package attribute provides typed key-value pairs for annotating trace spans.
telemetry/trace/event
Package event provides timestamped events that can be attached to trace spans.
Package event provides timestamped events that can be attached to trace spans.
telemetry/trace/exporter
Package exporter defines the interface for exporting trace spans.
Package exporter defines the interface for exporting trace spans.
telemetry/trace/span
Package span provides the Span type for representing units of work with timing information and hierarchical structure.
Package span provides the Span type for representing units of work with timing information and hierarchical structure.
telemetry/trace/status
Package status provides status codes for trace spans.
Package status provides status codes for trace spans.
test/assert
Package assert provides test assertion functions for verifying expected conditions in Go tests.
Package assert provides test assertion functions for verifying expected conditions in Go tests.
test/once
Package once provides a mechanism to execute a callback function exactly once per unique call site during test execution.
Package once provides a mechanism to execute a callback function exactly once per unique call site during test execution.
timestamp
Package timestamp provides a UTC-normalized timestamp type with RFC 3339 serialization.
Package timestamp provides a UTC-normalized timestamp type with RFC 3339 serialization.
validation
Package validation provides struct and variable validation using struct tags.
Package validation provides struct and variable validation using struct tags.

Jump to

Keyboard shortcuts

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