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 testdeep allows flexible deep comparison, it is an adaptation of Perl's Test::Deep perl.
Package assert implements the same assertions as the assert package but stops test execution when a test fails.
go-snaps is a Go implementation of Jest snapshot testing.
Package st, pronounced ghost, is a tiny test framework for making short, useful assertions in your Go tests. Assert(t, have, want) and Refute(t, have, want) abort a test immediately with t.Fatal. Expect(t, have, want) and Reject(t, have, want) allow a test to continue, reporting failure at the end with t.Error. They print nice error messages, preserving the order of have (actual result) before want (expected result) to minimize confusion.
assert is a testing library that provides high-level assertions API based on Go testing library procedures.
This package provides an implementation of failpoints for Golang.
This package implements assertions for the standard testing package, and is a minimalistic replacement for the stretchr/testify package.
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 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 implements a few functions that are useful for io testing, such as readers and writers that fail after N consecutive reads/writes.
This package calculates cognitive complexities of functions (and methods) in Go source code.
This package provides a unified diff parser and printer for Go.
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).
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.
This package provides utilities for test of static analysis tools.
@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 provides a linter to find named returns in Go code.
@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 checks that exported fields of a struct passed to a Marshal-like function are annotated with the relevant tag.
This package provide a Go analyzer that detects using os.Setenv instead of t.Setenv since Go1.17.
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 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.
This package checks your Go codebase for code smells that may prove to be a hindrance to internationalization and/or localization.
pgmockproxy is a PostgreSQL proxy that logs the messages back and forth between the PostgreSQL client and server. This can aid in building a mocking script by running commands against a real server to observe the results. It can also be used to debug applications that speak the PostgreSQL wire protocol without needing to use a tool like Wireshark.