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 webring send a patch to ~whereiseveryone/toys@lists.sr.ht adding your channel as an entry in channels.scm.
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.
This package provides a test library for the Go language.
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct TDD workflow.
This package offers a method of programmatically retrieving the current goroutine's ID.
Staticcheck is a state of the art linter for the Go programming language. Using static analysis, it finds bugs and performance issues, offers simplifications, and enforces style rules.
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.
A testing library for Go programs.
This package implements a functionality to run tests and report the results, converting test names WrittenInCamelCase into ordinary sentences.
A mini testing helper for Go.
It has a simple interface (
is.OKandis.Equal).It plugs into existing Go toolchain (uses
testing.T).It's obvious for newcomers.
It also gives you
is.Panicandis.PanicWithhelpers - because testing panics is ugly.
Package httpmock provides tools for mocking HTTP responses. It implements exact URL and regexp matches.
Package gotesttools is a collection of packages to augment testing and support common patterns.
Packages:
assert- compare values and fail the test when a comparison failsenv- test code which uses environment variablesfs- create temporary files and compare a filesystem tree to an expected valuegolden- compare large multi-line strings against values frozen in golden filesicmd- execute binaries and test the outputpoll- test asynchronous code by polling until a desired state is reachedskip- skip a test and print the source code of the condition used to skip the test
This package provides basic assertions along with building blocks for custom assertions to be used alongside native Go testing.
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). This package provides an command line interface (CLI) tool.
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 provides ciinfo, a tool to get details about the current Continuous Integration environment, including checking if running in a CI system, which CI system, build id, and more.
This is a reimplementation of ci-info in Go.
The Test Anything Protocol is a text-based interface between tests and a test harness. This package helps Go to generate TAP output.
Assertion library that:
makes spotting differences in equality much easier
uses repr and diffmatchpatch to display structural differences in colour
aborts tests on first assertion failure
Package oglematchers provides a set of matchers useful in a testing or mocking framework. These matchers are inspired by and mostly compatible with Google Test for C++ and Google JS Test.
This package provides a mocking framework which integrates well with built-in testing package, but can be used in other contexts too.
This package reads go-structlayout JSON on stdin and reorders fields to minimize the amount of padding. It can emit JSON to feed into go-structlayout-pretty.
This package provides a simple little tool that produces readable diff of 2 JSON-able and convertible to map[string]interface objects. Useful for diagnostics or debugging
In Norse mythology, Hel cares for the souls of people who didn't die in battle. This little tool cares for mock implementations of interface types.
Package reqtrace contains a very simple request tracing framework.
This package provides tools for detecting deadlocks at run-time in Go.