this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cue/load: replace go-internal/semver with x/mod

Since https://github.com/rogpeppe/go-internal/pull/213,
the former is a deprecated package forwarding to the latter.
I imagine this was a goimports mistake, since the package already
imports x/mod/module.

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ib41871a4ed2e57e5221c7f9b4802848b8a26f312
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/553571
Unity-Result: CUEcueckoo <cueckoo+gerrithub@cuelang.org>
Reviewed-by: Paul Jolly <paul@myitcv.io>
TryBot-Result: CUEcueckoo <cueckoo+gerrithub@cuelang.org>

+2 -3
+2 -3
cue/load/module.go
··· 3 3 import ( 4 4 _ "embed" 5 5 "io" 6 + "path/filepath" 6 7 "strings" 7 - 8 - "path/filepath" 9 8 10 9 "cuelang.org/go/cue/errors" 11 10 "cuelang.org/go/cue/load/internal/mvs" 12 11 "cuelang.org/go/cue/token" 13 - "github.com/rogpeppe/go-internal/semver" 14 12 "golang.org/x/mod/module" 13 + "golang.org/x/mod/semver" 15 14 ) 16 15 17 16 //go:embed moduleschema.cue