diff options
| author | Jonathan Amsterdam <jba@google.com> | 2019-12-15 08:37:29 -0500 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2020-03-27 16:46:49 -0400 |
| commit | ff7588dc0c91d9c7d6c27d22f6d86020137d1035 (patch) | |
| tree | 1684e3d8300852236bc2a3903f40dbe979fd75c8 /internal/stdlib/stdlib.go | |
| parent | 7938acbadb9baeb3b2ad9b4d03e8de087e0d60ec (diff) | |
| download | go-x-pkgsite-ff7588dc0c91d9c7d6c27d22f6d86020137d1035.tar.xz | |
all: use golang.org/x/mod
Use the semver and module packages from golang.org/x/mod. Remove them
from internal/thirdparty.
We also rename Encode{Version,Path} to Escape{Version,Path} because
golang.org/x/module does that.
Fixes b/133841935.
Change-Id: I0e52c6dd7109fbd488a030c750cdc06736356868
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/619244
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Diffstat (limited to 'internal/stdlib/stdlib.go')
| -rw-r--r-- | internal/stdlib/stdlib.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/stdlib/stdlib.go b/internal/stdlib/stdlib.go index 15dabc9e..9b9adb07 100644 --- a/internal/stdlib/stdlib.go +++ b/internal/stdlib/stdlib.go @@ -23,7 +23,7 @@ import ( "golang.org/x/discovery/internal/derrors" "golang.org/x/discovery/internal/testing/testhelper" - "golang.org/x/discovery/internal/thirdparty/semver" + "golang.org/x/mod/semver" "gopkg.in/src-d/go-billy.v4/osfs" "gopkg.in/src-d/go-git.v4" |
