alecthomas / assert
A simple assertion library using Go generics
☆156Updated last week
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☆104Updated last month
- Elegant middleware functions for your HTTP clients.☆101Updated 2 years ago
- Go tool for major version upgrades☆129Updated 4 months ago
- An implementation of a `Nullable` type for JSON bodies, indicating whether the field is absent, set to null, or set to a value☆110Updated this week
- Optional values for Go☆103Updated last month
- Importable package that parses version info from debug.ReadBuildInfo().☆265Updated 3 months ago
- Native type for dealing with dates in Go☆67Updated this week
- Go templates invoked as functions☆154Updated 3 years ago
- Bridge between Go testing.T and slog.☆58Updated last year
- Check exhaustiveness of switch statements of enum-like constants in Go source code.☆306Updated 2 months ago
- Go 1.23 range functions with database/sql☆144Updated 3 months ago
- Go linter for forbidding identifiers☆134Updated 3 weeks ago
- Finds unused _exported_ Go symbols in a project. Backed by gopls.☆39Updated 6 months ago
- Python's repr() for Go☆164Updated last week
- Use golang structured logging (slog) with context. Add and retrieve logger to and from context. Add attributes to context. Automatically …☆68Updated 2 months ago
- ☆121Updated 8 months ago
- Sample implementation of enhanced http.ServeMux routing patterns.☆57Updated last year
- sqlf generates parameterized SQL statements in Go, sprintf style☆127Updated last year
- Check that no globals are present in Go code.☆110Updated 2 weeks ago
- Checking Go templates for validity.☆58Updated 3 months ago
- Go errors but structured and composable. Fault provides an extensible yet ergonomic mechanism for wrapping errors.☆173Updated last year
- Quick helpers for testing Go applications using generics.☆51Updated 11 months ago
- Lets you retrieve platform-specific paths (like directories for app-data, cache, config, and logs)☆213Updated 2 years ago
- Adding "unset" state to Go's types☆81Updated last year
- µDiff - a micro Go diffing library☆175Updated 2 weeks ago
- Classy HTTP Handlers in Go☆56Updated 2 years ago
- A Go linter to check that errors from external packages are wrapped☆321Updated 3 months ago
- A linter to ensure that slices are not initialized with non-zero length☆75Updated 3 weeks ago
- Cookies, but with structs, for happiness.☆111Updated 2 months ago
- ☆130Updated 2 years ago