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 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.
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/cancellation 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 provides a tool that controls Go package import order and makes it always deterministic.
This package checks your Go codebase for code smells that may prove to be a hindrance to internationalization and/or localization.
The Go XML Formatter, xmlfmt, will format the XML string in a readable way.
Package testza is a full-featured testing framework for Go. It integrates with the default test runner, so you can use it with the standard go test tool. Testza contains easy to use methods, like assertions, output capturing, mocking, and much more.
Package randfill is a library for populating go objects with random values.
This package provides basic assertions along with building blocks for custom assertions to be used alongside native Go testing.
This package checks that exported fields of a struct passed to a Marshal-like function are annotated with the relevant tag.
This package provides a Go library and a command line tool for analyzing and summarizing go test output.
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.
This package implements a linter that requires a new line before return and branch statements except when the return is alone inside a statement group (such as an if statement) to increase code clarity.
This package provides a tool that controls Go package import order and makes it always deterministic.
assert is a testing library that provides high-level assertions API based on Go testing library procedures.
This package provides a simple Go linter to check that errors from external packages are wrapped during return to help identify the error source during debugging.
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.
Package is provides a lightweight extension to the standard library's testing capabilities.
This package provides a Go linter for common logger libraries:
kitlogkloglogrlog/slogzap
Reports unused function parameters and results in Go code.
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 UDP test helpers. It lets assert that certain strings must or must not be sent to a given local UDP listener.
This package provides a contract to share variables between test helpers in Golang.
This package is a simple tracing application that logs messages depending on environment variables. It is very much inspired by git's GIT_TRACE mechanism.