internal/version: add package

Package version is added to handle versions when processing modules.

This is copied from x/pkgsite.

Change-Id: I06dba18087779976da922a5a05f91ce5f22fadda
Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/463617
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
3 files changed
tree: c3f0324ccddf44b3c8a3cfd7c995c549eb14ebbe
  1. cmd/
  2. devtools/
  3. internal/
  4. all_test.go
  5. checks.bash
  6. CONTRIBUTING.md
  7. go.mod
  8. go.sum
  9. LICENSE
  10. PATENTS
  11. README.md
  12. tools_test.go
README.md

pkgsite-metrics

This repository contains code that serves pkg.go.dev/metrics.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.