src/cmd/go/internal/modfetch/bootstrap.go
raw| 1 | // Copyright 2019 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build cmd_go_bootstrap |
| 6 | |
| 7 | package modfetch |
| 8 | |
| 9 | import "golang.org/x/mod/module" |
| 10 | |
| 11 | func useSumDB(mod module.Version) bool { |
| 12 | return false |
| 13 | } |
| 14 | |
| 15 | func lookupSumDB(mod module.Version) (string, []string, error) { |
| 16 | panic("bootstrap") |
| 17 | } |