go bootstrap 源码

  • 2022-07-15
  • 浏览 (832)

golang bootstrap 代码

文件路径:/src/cmd/go/internal/modfetch/bootstrap.go

// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build cmd_go_bootstrap

package modfetch

import "golang.org/x/mod/module"

func useSumDB(mod module.Version) bool {
	return false
}

func lookupSumDB(mod module.Version) (string, []string, error) {
	panic("bootstrap")
}

相关信息

go 源码目录

相关文章

go cache 源码

go cache_test 源码

go coderepo 源码

go coderepo_test 源码

go fetch 源码

go key 源码

go proxy 源码

go repo 源码

go sumdb 源码

0  赞