- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for knownGOSUMDB (0.23 sec)
-
src/cmd/go/internal/modfetch/key.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. package modfetch var knownGOSUMDB = map[string]string{ "sum.golang.org": "sum.golang.org+033de0ae+Ac4zctda0e5eza+HJyk9SxEdh+s3Ux18htTTAD8OuAn8",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 29 12:39:27 UTC 2019 - 309 bytes - Viewed (0) -
src/cmd/go/internal/modfetch/sumdb.go
// of these we should add a map like knownGOSUMDB. gosumdb := cfg.GOSUMDB if gosumdb == "sum.golang.google.cn" { gosumdb = "sum.golang.org https://sum.golang.google.cn" } if gosumdb == "off" { return "", nil, fmt.Errorf("checksum database disabled by GOSUMDB=off") } key := strings.Fields(gosumdb) if len(key) >= 1 { if k := knownGOSUMDB[key[0]]; k != "" { key[0] = k } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 20 15:02:47 UTC 2023 - 9.1K bytes - Viewed (0)