You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gomodguard.go
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,9 @@ var (
32
32
blockReasonHasLocalReplaceDirective="import of package `%s` is blocked because the module has a "+
33
33
"local replace directive."
34
34
35
-
// startsWithVersion is used to test when a string begins with the version identifier of a module, after having stripped the prefix base module name
36
-
// ie "github.com/foo/bar/v2/baz" => "/v2/baz" probably indicates that the module is actually github.com/foo/bar/v2, not github.com/foo/bar
35
+
// startsWithVersion is used to test when a string begins with the version identifier of a module,
36
+
// after having stripped the prefix base module name. IE "github.com/foo/bar/v2/baz" => "/v2/baz"
37
+
// probably indicates that the module is actually github.com/foo/bar/v2, not github.com/foo/bar.
0 commit comments