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 few functions that are useful for io testing, such as readers and writers that fail after N consecutive reads/writes.
Package quicktest provides a collection of Go helpers for writing tests.
Package spew implements a deep pretty printer for Go data structures to aid in debugging.
A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
Pointers are dereferenced and followed.
Circular data structures are detected and handled properly.
Custom Stringer/error interfaces are optionally invoked, including on unexported types.
Custom types which only implement the Stringer/error interfaces via a pointer receiver are optionally invoked when passing non-pointer variables.
Byte arrays and slices are dumped like the hexdump -C command which includes offsets, byte values in hex, and ASCII output (only when using Dump style).
This package provides a quick and easy string diffing functions based on github.com/sergi/go-diff, mainly for diffing strings in tests.
This package implements value validations for structs and individual fields based on tags. It has the following unique features:
Cross Field and Cross Struct validations by using validation tags or custom validators
Slice, Array and Map diving, which allows any or all levels of a multidimensional field to be validated
Ability to dive into both map keys and values for validation
Handles type interface by determining it's underlying type prior to validation
Handles custom field types such as sql driver Valuer
Alias validation tags, which allows for mapping of several validations to a single tag for easier defining of validations on structs
Extraction of custom defined Field Name e.g. can specify to extract the JSON name while validating and have it available in the resulting FieldError
Customizable i18n aware error messages.
Default validator for the gin web framework
Package reqtrace contains a very simple request tracing framework.
Go package to verify that there are no unexpected goroutines running at the end of a test.
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.
This package provides basic assertions along with building blocks for custom assertions to be used alongside native Go testing.
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.
Ginkgo is a Behaviour-Driven Development testing framework for Go. It builds on top of Go's builtin testing library and is complemented by the Gomega matcher library.
This package offers a method of programmatically retrieving the current goroutine's ID.
This package implements a functionality to generate random user-agent strings which may be used in mock tests.
Profile provides a simple way to manage runtime/pprof profiling of your Go application.
@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.
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 is an alternative fork of github.com/icrowley/fake used in go-github-com-jackc-pgx.
This package provides tools for detecting deadlocks at run-time in Go.
Package gunit provides testing package hooks and convenience functions for writing tests in an xUnit style.
Package assert implements the same assertions as the assert package but stops test execution when a test fails.
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 inplements a functionality to collect all .coverprofile files rooted in the project and concatenante them into a single file ready for https://coveralls.io/.
Correct is a collection of assertion libraries for Golang, intended to be used together. It tries not to strictly enforce that, though - most of correct should be customizeable either by changing some options or by using only some sub-packages of correct.
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.