Enter the query into the form above. You can look for specific version of a package by using @ symbol like this: gcc@10.
API method:
GET /api/packages?search=hello&page=1&limit=20
where search is your query, page is a page number and limit is a number of items on a single page. Pagination information (such as a number of pages and etc) is returned
in response headers.
If you'd like to join our channel search send a patch to ~whereiseveryone/toys@lists.sr.ht adding your channel as an entry in channels.scm.
This package provides a quick and easy string diffing functions based on github.com/sergi/go-diff, mainly for diffing strings in tests.
Package fake is the fake data generatror for go (Golang), heavily inspired by forgery and ffaker Ruby gems.
pprof is a tool for visualization and analysis of profiling data.
It reads a collection of profiling samples in profile.proto format and generates reports to visualize and help analyze the data. It can generate both text and graphical reports (through the use of the dot visualization package).
Package is provides a lightweight extension to the standard library's testing capabilities.
This package provide many tools for testifying that your code will behave as you intend.
Features include:
Easy assertions
Mocking
HTTP response trapping
Testing suite interfaces and functions.
Reports unused function parameters and results in Go code.
Package quartz is a library for testing time related code. It exports an interface Clock that mimics the standard library time package functions. In production, an implementation that calls thru to the standard library is used. In testing, a Mock clock is used to precisely control and intercept time functions.
This package is a simple tracing application that logs messages depending on environment variables. It is very much inspired by git's GIT_TRACE mechanism.
Rapid is a Go library for property-based testing.
Rapid checks that properties you define hold for a large number of automatically generated test cases. If a failure is found, rapid automatically minimizes the failing test case before presenting it.
Features:
imperative Go API with type-safe data generation using generics
data generation biased to explore "small" values and edge cases more thoroughly
fully automatic minimization of failing test cases
persistence and automatic re-running of minimized failing test cases
support for state machine ("stateful" or "model-based") testing
no dependencies outside the Go standard library
This package implements an extension of Table-Driven Testing. Instead of building and iterating over a table in the test code, the input is further separated into files (or inline strings). For certain classes of tests, this can significantly reduce the friction involved in writing and reading these tests.
Package testfs provides a simple fs.FS which is contained in a test (using testing.TB's TempDir) and with a few helper methods.
Correct is a collection of assertion libraries for Golang, intended to be used together. It tries not to strictly enforce that, though - most of correct should be customizable either by changing some options or by using only some sub-packages of correct.
Package oglemock provides a mocking framework for unit tests.
The gls package provides a way to store a retrieve values per-goroutine.
This is alternative implementation of stretchr/testify Go test library with zero dependencies which is 95% compatible with it.
This package provides tools for detecting deadlocks at run-time in Go.
This package checks that exported fields of a struct passed to a Marshal-like function are annotated with the relevant tag.
@codego-vcr simplifies testing by recording your HTTP interactions and replaying them in future runs in order to provide fast, deterministic and accurate testing of your code.
This package provides helpers for automated testing of scanners/lexers/tokenizers.
This package implements a linter that checks for required fields during struct initialization.
This package provides utilities for golden file tests.
This package provides a state machine assisted testing library for Go.
Moq is a tool that generates a struct from any interface. The struct can be used in test code as a mock of the interface.
This package provides a simple Go linter to check that errors from external packages are wrapped during return to help identify the error source during debugging.