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 supplemental Go libraries for text processing.
This package provides supplemental libraries offering Go support for low-level interaction with the operating system.
The cmdtest package simplifies testing of command-line interfaces. It provides a simple, cross-platform, shell-like language to express command execution. It can compare actual output with the expected output, and can also update a file with new "golden" output that is deemed correct.
This package provides an in-memory B-Tree implementation for Go, useful as an ordered, mutable data structure.
This subrepository holds experimental and deprecated (in the old directory) packages.
Package typeparams contains common utilities for writing tools that interact with generic Go code, as introduced with Go 1.18.
Many of the types and functions in this package are proxies for the new APIs introduced in the standard library with Go 1.18. For example, the typeparams.Union type is an alias for go/types.Union, and the ForTypeSpec function returns the value of the go/ast.TypeSpec.TypeParams field. At Go versions older than 1.18 these helpers are implemented as stubs, allowing users of this package to write code that handles generic constructs inline,even if the Go version being used to compile does not support generics.
The Common Expression Language (CEL) implements common semantics for expression evaluation, enabling different applications to more easily interoperate.
This package implements a functionality for using Go on mobile platforms.
This repository contains packages for accessing and analyzing data from the Go Vulnerability Database.
This package is intended to be a more powerful and safer alternative to reflect.DeepEqual for comparing whether two values are semantically equal.
Mage is a make-like build tool using for Go. It implements a functionality of writing plain-old go functions which Mage automatically uses as Makefile-like runnable targets consistent across a project. This package provides a source library and built command mage.
This package provides a mirror of the assembler from the Go compiler, with import paths re-written for the assembler to be functional as a standalone library.
@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.
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.
Profile provides a simple way to manage runtime/pprof profiling of your Go application.
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 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 provides a quick and easy string diffing functions based on github.com/sergi/go-diff, mainly for diffing strings in tests.
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 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
Mint (mint.Mint) is wrapper for *testing.T blending testing type to omit repeated t.
This package provides the Go source code for the go-staticcheck advanced Go linter.
Package oglemock provides a mocking framework for unit tests.
Correct is a collection of assertion libraries for Golang, intended to be used together. It tries not to strictly enforce that, though - most of correct should be customizeable either by changing some options or by using only some sub-packages of correct.