go get -u github.com/fossas/go-resolve/cmd/go-resolve
go-resolve is a set of three components:
go-resolve-worker, that together compose a Go package revision resolver.
go-resolveis a command-line tool for computing and looking up a package hash on a
go-resolve-apiis an API server for queuing and querying hashes.
go-resolve-workeris an asynchronous worker for computing package hashes.
Packages are hashed by running
go list -json <package> to get their source
files, then computing the SHA256 of the files in lexicographical order.
Source files are the union of a package's: