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.
Package gocovmerge takes the results from multiple go test -coverprofile runs and merges them into one profile. It is a maintained fork of https://github.com/wadey/gocovmerge.
This package is a linter that detects struct contained context.Context field. This is discouraged technique in favour of passing context as first argument of method or function. For rationale please read Contexts and structs the Go blog post.
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 provides basic assertions along with building blocks for custom assertions to be used alongside native Go testing.
This package implements a functionality to converts Go values at runtime into their @codego/ast equivalent,which may be used in debugging and testing, as a more comprehensive and configurable version of the fmt package's %+v and %#v formatting directives. It is similar to e.g. repr in Python.
Gomega is the preferred matcher/assertion library for the Ginkgo test framework.
This package implements a linter that checks for required fields during struct initialization.
Package reqtrace contains a very simple request tracing framework.
zerologlint is a linter for zerolog that can be run with go vet or through golangci-lint. It detects the wrong usage of zerolog that a user forgets to dispatch zerolog.Event with Send or Msg like functions, in which case nothing will be logged.
This package provides fake implementations of the object's collaborators.
The deep package provides the deep.Equal function which is like reflect.DeepEqual but returns a list of differences. This is helpful when comparing complex types like structures and maps.
This package implements a functionality to scan and report for dependencies which are checked in to the repository. It provides a library and CLI tool.
This package provides a declaration order linter for Go. In case of this tool declarations are type, const, var and func.
This package finds code that returns nil in an if err != nil check.
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.
This package provides utilities for golden file tests.
Package ossfuzzseeds writes Go native fuzz seeds as OSS-Fuzz seed corpus files.
This package implements a functionality for testing socket and HTTP servers in Golang.
Versatile HTTP mocking made easy in Go that works with any net/http based stdlib implementation. Inspired by the Node nock library, it has features like:
Simple and expressive API
Semantic API DSL for declarative HTTP mock declarations
Built-in helpers for easy JSON/XML mocking
Supports persistent and volatile TTL-limited mocks
Full regular expressions capable HTTP request mock matching
Designed for both testing and runtime scenarios
Match request by method, URL params, headers and bodies
Extensible and pluggable HTTP matching rules
Ability to switch between mock and real networking modes
Ability to filter/map HTTP requests for accurate mock matching
Supports map and filters to handle mocks easily
Wide compatible HTTP interceptor using
http.RoundTripperinterfaceWorks with any
net/httpcompatible client, such asgentlemanNetwork timeout/cancellation delay simulation
Extensible and hackable API
Package quicktest provides a collection of Go helpers for writing tests.
This package provides a toolkit for parsing Go language panic stack traces. It simplifies the traces to make salient information more visible and aid debugging.
Package gostub is used for stubbing variables in tests, and resetting the original value once the test has been run.
This package provides additions to Go's stdlib fmt.
This package provides a mocking framework which integrates well with built-in testing package, but can be used in other contexts too.