github.com/go-asm/go@v1.21.1-0.20240213172139-40c5ead50c48/cmd/go/modfetch/bootstrap.go (about)

     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  }