1
0
mirror of https://github.com/golang/go synced 2024-11-26 19:51:17 -07:00

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:
Dmitri Shuralyov 2020-10-18 17:02:06 +00:00
parent 3fad58f12e
commit cb4df98334
2 changed files with 2 additions and 2 deletions

View File

@ -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
// )
//

View File

@ -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
)