alecthomas / assert
A simple assertion library using Go generics
☆156Updated last month
Alternatives and similar repositories for assert:
Users that are interested in assert are comparing it to the libraries listed below
- The Go test helper for minimalists☆103Updated this week
- Importable package that parses version info from debug.ReadBuildInfo().☆262Updated 2 months ago
- Go tool for major version upgrades☆128Updated 3 months ago
- Elegant middleware functions for your HTTP clients.☆100Updated last year
- Optional values for Go☆104Updated 3 weeks ago
- Finds unused _exported_ Go symbols in a project. Backed by gopls.☆39Updated 5 months ago
- Go linter for forbidding identifiers☆131Updated last month
- An implementation of a `Nullable` type for JSON bodies, indicating whether the field is absent, set to null, or set to a value☆106Updated 2 weeks ago
- Python's repr() for Go☆164Updated this week
- Check exhaustiveness of switch statements of enum-like constants in Go source code.☆303Updated last month
- Dead simple Go database migration library.☆172Updated 10 months ago
- Go slog's Handler implementation to ensure correlation with Open-Telemetry spans.☆121Updated 6 months ago
- Go 1.23 range functions with database/sql☆144Updated last month
- Check that no globals are present in Go code.☆107Updated last year
- 🪵 Ensure consistent code style when using log/slog☆119Updated this week
- json encoding and decoding☆198Updated last month
- Lets you retrieve platform-specific paths (like directories for app-data, cache, config, and logs)☆205Updated 2 years ago
- 🔍 Load environment variables into a config struct☆67Updated 5 months ago
- Bridge between Go testing.T and slog.☆53Updated last year
- work in progress☆197Updated 5 months ago
- Checking Go templates for validity.☆59Updated 2 months ago
- The Golang linter that checks usage of github.com/stretchr/testify.☆115Updated 2 weeks ago
- Go library for HTTP content type negotiation☆53Updated 7 months ago
- Implementation of io/fs.FS that appends SHA256 hashes to filenames to allow for aggressive HTTP caching.☆366Updated 10 months ago
- ☆131Updated 2 years ago
- Adding "unset" state to Go's types☆81Updated last year
- 🚨 slog: Attribute formatting☆144Updated this week
- Native type for dealing with dates in Go☆66Updated 3 weeks ago
- Go errors but structured and composable. Fault provides an extensible yet ergonomic mechanism for wrapping errors.☆172Updated 11 months ago
- 🚨 Chi middleware for slog logger☆56Updated 2 weeks ago