- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for stdPkgs (0.13 sec)
-
src/go/doc/comment/std_test.go
if !strings.Contains(pkg, "/") { list = append(list, pkg) } } slices.Sort(list) have := strings.Join(stdPkgs, "\n") + "\n" want := strings.Join(list, "\n") + "\n" if have != want { t.Errorf("stdPkgs is out of date: regenerate with 'go generate'\n%s", diff.Diff("stdPkgs", []byte(have), "want", []byte(want))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 825 bytes - Viewed (0) -
src/go/doc/comment/std.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Code generated by 'go generate' DO NOT EDIT. //go:generate ./mkstd.sh package comment var stdPkgs = []string{ "bufio", "bytes", "cmp", "context", "crypto", "embed", "encoding", "errors", "expvar", "flag", "fmt", "hash", "html", "image", "io", "iter", "log",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 671 bytes - Viewed (0) -
src/go/doc/comment/mkstd.sh
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:42 UTC 2022 - 768 bytes - Viewed (0) -
src/go/doc/comment/parse.go
if path, ok := d.LookupPackage(pkg); ok { return path, true } } return DefaultLookupPackage(pkg) } func isStdPkg(path string) bool { _, ok := slices.BinarySearch(stdPkgs, path) return ok } // DefaultLookupPackage is the default package lookup // function, used when [Parser.LookupPackage] is nil. // It recognizes names of the packages from the standard
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 33.5K bytes - Viewed (0) -
src/internal/goroot/gccgo.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 18:16:28 UTC 2024 - 758 bytes - Viewed (0)