mirror of https://github.com/golang/go.git
cmd/go: add /v2 to another require example
This is the same change as in CL 144917, but applied to a nearby line. For #28374. Change-Id: I6e1693d3a14e2517d863d1052a06c1156fc1edd4 Reviewed-on: https://go-review.googlesource.com/c/go/+/263437 Trust: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
This commit is contained in:
parent
3fad58f12e
commit
cb4df98334
|
|
@ -1976,7 +1976,7 @@
|
|||
// like in Go imports:
|
||||
//
|
||||
// require (
|
||||
// new/thing v2.3.4
|
||||
// new/thing/v2 v2.3.4
|
||||
// old/thing v1.2.3
|
||||
// )
|
||||
//
|
||||
|
|
|
|||
|
|
@ -439,7 +439,7 @@ The leading verb can be factored out of adjacent lines to create a block,
|
|||
like in Go imports:
|
||||
|
||||
require (
|
||||
new/thing v2.3.4
|
||||
new/thing/v2 v2.3.4
|
||||
old/thing v1.2.3
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue