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.
Goob is a Go implementation of the observable pattern, providing a simple way to create observable objects and subscribe to their changes.
Package gocovmerge takes the results from multiple go test -coverprofile runs and merges them into one profile. It is a maintained fork of https://github.com/wadey/gocovmerge.
This is a linter for Go source code. Unlike gofmt, it doesn't reformat the source code, it only prints out style mistakes.
This package provides the Go source code for the go-staticcheck advanced Go linter.
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.
Reports unused function parameters and results in Go code.
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 stub provides helper functions to replace global variables for testing, and restore them afterwards.
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 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.
Moq is a tool that generates a struct from any interface. The struct can be used in test code as a mock of the interface.
Package fake is the fake data generatror for go (Golang), heavily inspired by forgery and ffaker Ruby gems.
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 mimics the Ruby on Rails' way of writing tests for database applications, where sample data is kept in fixtures files. Before the execution of every test, the test database is cleaned and the fixture data is loaded into the database.
This package implements a functionality to run tests and report the results, converting test names WrittenInCamelCase into ordinary sentences.
wish is a test assertion library for Golang, designed to gracefully enhance standard library testing package and behaviors of the go test command.
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.
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.
Package reqtrace contains a very simple request tracing framework.
Package tbltest implements helper functions to help write table driven tests.
This package is an alternative fork of github.com/icrowley/fake used in go-github-com-jackc-pgx.
This package provides a contract to share variables between test helpers in Golang.
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