This package browser is in early development. Mind the rough edges.

go-github-com-rogpeppe-go-internal

Internal packages from the Go standard library

This repository factors out an opinionated selection of internal packages and functionality from the Go standard library. Currently this consists mostly of packages and testing code from within the Go tool implementation.

Included are the following:

  • dirhash: calculate hashes over directory trees the same way that the Go tool does.

  • goproxytest: a GOPROXY implementation designed for test use.

  • gotooltest: Use the Go tool inside test scripts (see testscript below)

  • imports: list of known architectures and OSs, and support for reading import import statements.

  • modfile: read and write go.mod files while preserving formatting and comments.

  • module: module paths and versions.

  • par: do work in parallel.

  • semver: semantic version parsing.

  • testenv: information on the current testing environment.

  • testscript: script-based testing based on txtar files

  • txtar: simple text-based file archives for testing.

Installation

Install the latest version of go-github-com-rogpeppe-go-internal as follows:

guix install go-github-com-rogpeppe-go-internal

Or install a particular version:

guix install go-github-com-rogpeppe-go-internal@1.12.0

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.

Badge code

You can use the following badge to inform users of go-github-com-rogpeppe-go-internal about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/go-github-com-rogpeppe-go-internal'><img src='https://packages.guix.gnu.org/packages/go-github-com-rogpeppe-go-internal/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/go-github-com-rogpeppe-go-internal/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/go-github-com-rogpeppe-go-internal)

Example Org:

[[https://packages.guix.gnu.org/packages/go-github-com-rogpeppe-go-internal][https://packages.guix.gnu.org/packages/go-github-com-rogpeppe-go-internal/badges/latest-version.svg]]