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.
Reports unused function parameters and results 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.
fgprof is a sampling Go profiler providing analyze On-CPU as well as Off-CPU (e.g. I/O) time together.
Go's builtin sampling CPU profiler can only show On-CPU time, but it's better than fgprof at that. Go also includes tracing profilers that can analyze I/O, but they can't be combined with the CPU profiler.
fgprof is designed for analyzing applications with mixed I/O and CPU workloads. This kind of profiling is also known as wall-clock profiling.
The deep package provides the deep.Equal function which is like reflect.DeepEqual but returns a list of differences. This is helpful when comparing complex types like structures and maps.
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.
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
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). This package provides an command line interface (CLI) tool.
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 implements a tool to compile native Golang fuzzers to libFuzzer fuzzers.
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.
Package gostub is used for stubbing variables in tests, and resetting the original value once the test has been run.
This package provides basic assertions along with building blocks for custom assertions to be used alongside native Go testing.
This package provides a library to generate unified diffs.
This package implements a functionality to mock a PostgreSQL server.
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
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.
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.
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.
Package is provides a lightweight extension to the standard library's testing capabilities.
This is a straight copy of the excellent Gomega library, stripped to the bare core to be free of third-party dependencies.
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 provide many tools for testifying that your code will behave as you intend.
Features include:
Easy assertions
Mocking
HTTP response trapping
Testing suite interfaces and functions.
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.