stdlib

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0

README

stdlib

English | 中文

stdlib is a collection of high-quality independent utility modules written in Go. It provides carefully crafted tools that complement the Go standard library, making everyday Go development more convenient and enjoyable.

Each module is independent and can be used separately. Detailed documentation is available in each module's directory.

Available Modules

Module Description
ctxcache Context-based caching utilities
errutil Error handling utilities, provides error wrapping, stack trace capture and more
fileutil File system utilities
flatten Flatten nested data structures
formutil Form processing utilities
funcutil Function utilities, lazy evaluation, partial application and more
goutil Generic Go language utilities, context cancellation control and more
hashutil Hashing utilities
httpclt HTTP client utilities
httpsvr HTTP server utilities
iterutil Iterator and loop processing utilities
jsonflow JSON streaming processing toolkit
listutil List and linked list utilities
mathutil Math and numeric utilities
md5util MD5 hashing convenience utilities
netutil Network related utilities
ordered Ordered map and set data structures
patchutil Patch processing utilities
testing Elegant fluent-style assertion library for unit testing, supports assert and require modes with type-specific assertions
textstyle Text style and formatting utilities
typeutil Type reflection and conversion utilities

License

Apache License 2.0

Directories

Path Synopsis
Package ctxcache provides a strongly-typed, context-scoped cache for request-scoped data.
Package ctxcache provides a strongly-typed, context-scoped cache for request-scoped data.
Package errutil provides lightweight utilities for structuring and wrapping errors in two distinct semantic ways:
Package errutil provides lightweight utilities for structuring and wrapping errors in two distinct semantic ways:
Package goutil provides utilities for running goroutines safely with built-in panic recovery.
Package goutil provides utilities for running goroutines safely with built-in panic recovery.
testing
assert
Package assert provides assertion helpers for testing, offering both functional and fluent assertion styles.
Package assert provides assertion helpers for testing, offering both functional and fluent assertion styles.
require
Package require provides assertion helpers that stop test execution on failure.
Package require provides assertion helpers that stop test execution on failure.

Jump to

Keyboard shortcuts

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