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 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 a Go linter for common logger libraries:
kitlogkloglogrlog/slogzap
This project provides various helper functions for https://go.dev/doc/security/fuzz/. It is mostly used in combination with go-fuzz, but compatibility with fuzzing in the standard library will also be supported. Any coverage guided fuzzing engine that provides an array or slice of bytes can be used with go-fuzz-headers.
This package provides a vet analyzer to detect magic numbers.
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
Simple Go source code linter providing checks for copyright headers.
Package autogold makes go test -update automatically update Go tests (golden files and Go values in e.g. foo_test.go).
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 testifyjson is a collection of utilities and helper function for unit testing JSON output in Go.
@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 calculates cognitive complexities of functions (and methods) in Go source code.
Package fixtures exposes a test [Harness] utility to test JSON and YAML transformations.
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.
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 a simple assertion framework for Go.
Package ogletest provides a framework for writing expressive unit tests. It integrates with the builtin testing package, so it works with the gotest command. Unlike the testing package which offers only basic capabilities for signalling failures, it offers ways to express expectations and get nice failure messages automatically.
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 checks your Go codebase for code smells that may prove to be a hindrance to internationalization and/or localization.
The Test Anything Protocol is a text-based interface between tests and a test harness. This package helps Go to generate TAP output.
Package oglemock provides a mocking framework for unit tests.
This package implements assertions for the standard testing package, and is a minimalistic replacement for the stretchr/testify package.
Got is a Go test helper library that provides assertion functions and utilities for writing cleaner test code.
This package provides a declaration order linter for Go. In case of this tool declarations are type, const, var and func.
This package provides a tool that controls Go package import order and makes it always deterministic.