mod

module
v0.0.0-...-93f7714 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2019 License: BSD-3-Clause

README

This fork is just a quick and dirty solution (commit log should be self-explanatory)
to provide what https://github.com/golang/go/issues/31761 aims to provide
when it is done (currently scheduled for Go 1.14; Feb 2020).

**NOTE**

APIs exposed from this module (esp. from modfile package) are
subject to change and everyone is encouraged to migrate
to `golang.org/x/mod` when it's feature complete and stable.

----

This repository holds packages for writing tools
that work directly with Go module mechanics.
That is, it is for direct manipulation of Go modules themselves.

It is NOT about supporting general development tools that
need to do things like load packages in module mode.
That use case, where modules are incidental rather than the focus,
should remain in x/tools, specifically x/tools/go/packages.

The specific case of loading packages should still be done by
invoking the go command, which remains the single point of
truth for package loading algorithms.

Directories

Path Synopsis
Gosumcheck checks a go.sum file against a go.sum database server.
Gosumcheck checks a go.sum file against a go.sum database server.
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.
Package module defines the module.Version type along with support code.
Package module defines the module.Version type along with support code.
Package semver implements comparison of semantic version strings.
Package semver implements comparison of semantic version strings.
Package sumdb implements the HTTP protocols for serving or accessing a module checksum database.
Package sumdb implements the HTTP protocols for serving or accessing a module checksum database.
dirhash
Package dirhash defines hashes over directory trees.
Package dirhash defines hashes over directory trees.
note
Package note defines the notes signed by the Go module database server.
Package note defines the notes signed by the Go module database server.
storage
Package storage defines storage interfaces for and a basic implementation of a checksum database.
Package storage defines storage interfaces for and a basic implementation of a checksum database.
tlog
Package tlog implements a tamper-evident log used in the Go module go.sum database server.
Package tlog implements a tamper-evident log used in the Go module go.sum database server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL