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 provides an emoji is a extension for the goldmark.
This package implements logging analogous to C++ package glog INFO/ERROR/V setup. It provides functions that have a name matched by regex:.
renameio Go package provides a way to atomically create or replace a file or symbolic link.
Package packagestest creates temporary projects on disk for testing go tools on.
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
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.
Gofuzz is a library for populationg Go objects with random values for the purpose of fuzz testing.
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 a toolkit for parsing Go language panic stack traces. It simplifies the traces to make salient information more visible and aid debugging.
Reports unused function parameters and results in Go code.
This package provides additions to Go's stdlib fmt.
This package provides a library to generate unified diffs.
This package provides a test library for the Go language.
Mint (mint.Mint) is wrapper for *testing.T blending testing type to omit repeated t.
This package implements a functionality to mock a PostgreSQL server.
Package quartz is a library for testing time related code. It exports an interface Clock that mimics the standard library time package functions. In production, an implementation that calls thru to the standard library is used. In testing, a Mock clock is used to precisely control and intercept time functions.
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.
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 provides a mocking framework which integrates well with built-in testing package, but can be used in other contexts too.
This package implements a linter that checks for required fields during struct initialization.
Versatile HTTP mocking made easy in Go that works with any net/http based stdlib implementation. Inspired by the Node nock library, it has features like:
Simple and expressive API
Semantic API DSL for declarative HTTP mock declarations
Built-in helpers for easy JSON/XML mocking
Supports persistent and volatile TTL-limited mocks
Full regular expressions capable HTTP request mock matching
Designed for both testing and runtime scenarios
Match request by method, URL params, headers and bodies
Extensible and pluggable HTTP matching rules
Ability to switch between mock and real networking modes
Ability to filter/map HTTP requests for accurate mock matching
Supports map and filters to handle mocks easily
Wide compatible HTTP interceptor using
http.RoundTripperinterfaceWorks with any
net/httpcompatible client, such asgentlemanNetwork timeout/cancelation delay simulation
Extensible and hackable API
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 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 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