xorcare / golden
Package golden testing with golden files in Go. A golden file is the expected output of test, stored as a separate file rather than as a string literal inside the test code.
☆31Updated last month
Related projects ⓘ
Alternatives and complementary repositories for golden
- Golang linter to check the errors handling expressions☆46Updated 3 years ago
- Golang linter that encourages you to use a separate _test package☆47Updated this week
- Lint your project with GolangCI-Lint using GitHub actions.☆19Updated 4 years ago
- Convenience wrapper around "go test" + "benchstat".☆22Updated 4 years ago
- Checks for a new line before return and branch statements.☆26Updated 7 months ago
- Check that no init functions are present in Go code.☆41Updated 3 years ago
- GoDoX extract speficic comments from Go code based on keywords☆15Updated 10 months ago
- The Golang linter that checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error` or `Errors`.☆23Updated last week
- Go linter that checks types that are json encoded - reports unsupported types and unnecessary error checks☆40Updated last week
- dogsled is a Go static analysis tool to find assignments/declarations with too many blank identifiers.☆72Updated 7 months ago
- Build Go linters from lintpack-compatible packages. Also serves as a framework for writing checkers.☆28Updated 4 years ago
- CLI frontend for mage based on promptui.☆25Updated 10 months ago
- Linter that checks that comments end in a period☆44Updated 2 months ago
- ☆26Updated 2 years ago
- golang linter to detect named returns☆26Updated 2 weeks ago
- Go linter to detect erroneous multiplication of duration values☆46Updated 6 months ago
- Simple linter to check that your code does not contain non-ASCII identifiers☆22Updated last year
- intrange is a program for checking for loops that could use the Go 1.22 integer range feature.☆15Updated this week
- The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.☆53Updated last month
- A curated list of Go code formatters (like gofmt)☆32Updated 3 years ago
- Helper routines for simplifying the creation of optional fields of basic type.☆42Updated last month
- Source code analyzer that helps you to maintain variable/field naming conventions inside your project.☆39Updated 5 years ago
- Gotcha 🎯 seamlessly patches go runtime to provide a convenient way to track amount of heap allocated bytes, objects, calls per goroutin…☆39Updated 2 years ago
- Check go mod dependencies☆15Updated 4 years ago
- SVG shield badge renderer written in go☆56Updated 8 months ago
- Helium is a small, simple, modular constructor with some pre-built components for your convenience.☆68Updated 8 months ago
- identypo is a Go static analysis tool to find typos in identifiers (functions, function calls, variables, constants, type declarations, p…☆27Updated 6 years ago
- Better sync package for Go.☆22Updated 8 months ago
- Cache that tries to keep data local for the goroutine and reduce synchronization overhead, but keep it is safe for concurrent use.☆45Updated 4 years ago