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 implements a functionality to scan and report for dependencies which are checked in to the repository. It provides a library and CLI tool.
Package testfs provides a simple fs.FS which is contained in a test (using testing.TB's TempDir) and with a few helper methods.
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.
This package implements a few functions that are useful for io testing, such as readers and writers that fail after N consecutive reads/writes.
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.
This package provides basic assertions along with building blocks for custom assertions to be used alongside native Go testing.
gotestspace is used to quickly create a working directory for shell execution using Go, as well as a tool for customizing the execution of the shell. It can help you quickly create an independent workspace for unit testing and improve the efficiency of unit test writing.
Mint (mint.Mint) is wrapper for *testing.T blending testing type to omit repeated t.
This package prints the layout of a struct in Go, which is the byte offset and size of each field, respecting padding. This information is printed in human-readable form by default, or as JSON with the -json flag.
This package provides scripts and workflows to automate common routines for Golang projects via modular Makefiles and GitHub Actions.
Gofuzz is a library for populationg Go objects with random values for the purpose of fuzz testing.
go-testmark is a library to parse, patch data and test fixtures from Markdown files, using the testmark format, which itself is a subset of Markdown format.
This package provides a library to generate unified diffs.
gomock is a mocking framework for the Go programming language. It integrates well with Go's built-in testing package, but can be used in other contexts too.
The gls package provides a way to store a retrieve values per-goroutine.
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 additions to Go's stdlib fmt.
Package stub provides helper functions to replace global variables for testing, and restore them afterwards.
This package provides tools for detecting deadlocks at run-time in Go.
This package is a straight copy of the excellent Ginkgo library, stripped to the bare core to be free of third-party dependencies.
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 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 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 implements a functionality to mock a PostgreSQL server.