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 autogold makes go test -update automatically update Go tests (golden files and Go values in e.g. foo_test.go).
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 additions to Go's stdlib fmt.
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 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.
This linter checks that sprintf is not used to construct a host:port combination in a URL.
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
Got is a Go test helper library that provides assertion functions and utilities for writing cleaner test code.
This package is a linter developed specifically for Go programmers working with nested protobuf types. It's designed to aid developers in preventing invalid memory address or nil pointer dereference errors arising from direct access of nested protobuf fields.
When working with protobuf, it's quite common to have complex structures where a message field is contained within another message, which itself can be part of another message, and so on. If these fields are accessed directly and some field in the call chain will not be initialized, it can result in application panic.
Protogetter addresses this issue by suggesting use of getter methods for field access.
This package provides a test library for the Go language.
This package implements a functionality to run tests and report the results, converting test names WrittenInCamelCase into ordinary sentences.
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
The Go XML Formatter, xmlfmt, will format the XML string in a readable way.
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.
@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 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 an idiomatic Go retry module.
Package stub provides helper functions to replace global variables for testing, and restore them afterwards.
This package implements a functionality to run tests and report the results, converting test names WrittenInCamelCase into ordinary sentences. This package provides an command line interface (CLI) tool.
Package tbltest implements helper functions to help write table driven tests.
Package gunit provides testing package hooks and convenience functions for writing tests in an xUnit style.
This package provides scripts and workflows to automate common routines for Golang projects via modular Makefiles and GitHub Actions.
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 a tool that controls Go package import order and makes it always deterministic.