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.
This package provides a unified diff parser and printer for 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/cancellation delay simulation
Extensible and hackable API
Package gostub is used for stubbing variables in tests, and resetting the original value once the test has been run.
This package implements a functionality to mock a PostgreSQL server.
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 basic assertions along with building blocks for custom assertions to be used alongside native Go testing.
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 reqtrace contains a very simple request tracing framework.
This package provides a contract to share variables between test helpers in Golang.
Package qt implements assertions and other helpers wrapped around the standard library's testing types.
This package provide a Go analyzer that detects using os.Setenv instead of t.Setenv since Go1.17.
go-snaps is a Go implementation of Jest snapshot testing.
This package provides a Go linter for common logger libraries:
kitlogkloglogrlog/slogzap
This package provides utilities for ast.CommentMap.
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 provides a Go linter that finds function calls without context.Context.
This package implements assertions for the standard testing package, and is a minimalistic replacement for the stretchr/testify package.
Package sloglint implements the sloglint analyzer. The log/slog API allows two different types of arguments: key-value pairs and attributes.
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 provides utilities for test of static analysis tools.
This package takes the results from multiple go test -coverprofile runs and merges them into one profile.
This package implements a functionality to scan and report for dependencies which are checked in to the repository. It provides a library and CLI tool.
This package checks if comments contain a period at the end of the last sentence if needed.