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 calculates cognitive complexities of functions (and methods) in Go source code.
Goob is a Go implementation of the observable pattern, providing a simple way to create observable objects and subscribe to their changes.
This package implements a functionality to run tests and report the results, converting test names WrittenInCamelCase into ordinary sentences.
Package diff provides functions to efficiently compare two slices similar to the Unix diff command line tool to compare files.
This is alternative implementation of stretchr/testify Go test library with zero dependencies which is 95% compatible with it.
This package provides a unified diff parser and printer for Go.
Go package to verify that there are no unexpected goroutines running at the end of a test.
Package oglemock provides a mocking framework for unit tests.
This package provides a tool that controls Go package import order and makes it always deterministic.
This package is a Go static analysis tool to find slice declarations that could potentially be preallocated.
Reports unused function parameters and results in Go code.
This package provides utilities for ast.CommentMap.
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
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.
This package provides the Go source code for the go-staticcheck advanced Go linter.
This package provides a vet analyzer to detect magic numbers.
The Test Anything Protocol is a text-based interface between tests and a test harness. This package helps Go to generate TAP output.
This package implements a functionality to mock a PostgreSQL server.
This package provides a Go linter that finds function calls without context.Context.
clock is a small library for mocking time in Go. It provides an interface around the standard library's time package so that the application can use the realtime clock while tests can use the mock clock.
Package fixtures exposes a test [Harness] utility to test JSON and YAML transformations.
This package offers a method of programmatically retrieving the current goroutine's ID.
This package provides a small Go library for simulating packet networks in-process. It provides drop-in net.PacketConn endpoints connected through configurable virtual links with bandwidth, latency, and MTU constraints. Useful for testing networking code without sockets or root privileges.
Spec is a simple BDD test organizer for Go. It minimally extends the standard library testing package by facilitating easy organization of Go 1.7+ subtests.