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.
Package oglematchers provides a set of matchers useful in a testing or mocking framework. These matchers are inspired by and mostly compatible with Google Test for C++ and Google JS Test.
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.
Package assert provides obj set of assertion functions. Every assertion function returns obj boolean. This package does not integrate into the testing package automatically and requires to check the returning boolean value and call t.Fatal() if the assertion fails.
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.
go-snaps is a Go implementation of Jest snapshot testing.
This library enables complex data structure testing, specifically:
realtime transformation or casting of incompatible data types with directives system
consistent way of testing of unordered structures
contains, Range, RegExp support on any data structure deeph level
switch case directive to provide expected value alternatives based on actual switch/case input match
macro system enabling complex predicate and expression evaluation, and customization
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
clock is a small library for mocking time in Go. It provides an interface around the standard library's time package so that the application can use the realtime clock while tests can use the mock clock.
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 implements a tool to compile native Golang fuzzers to libFuzzer fuzzers.
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 provides an command line interface (CLI) tool.
This package provides additions to Go's stdlib testing.
Package httpmock provides tools for mocking HTTP responses. It implements exact URL and regexp matches.
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.
Package fake is the fake data generatror for go (Golang), heavily inspired by forgery and ffaker Ruby gems.
This package provides ciinfo, a tool to get details about the current Continuous Integration environment, including checking if running in a CI system, which CI system, build id, and more.
This is a reimplementation of ci-info in Go.
Package ddmin implements the delta-minimization test minimization algorithm.
This package provides an implementation of failpoints for Golang.
This package implements a linter that checks for required fields during struct initialization.
GoConvey is a testing tool for Go. It integrates with go test, can show test coverage and has a web user interface that will refresh automatically.
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
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
This package implements a functionality to mock a PostgreSQL server.
This package offers a method of programmatically retrieving the current goroutine's ID.