- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for assumedPackageName (0.24 sec)
-
src/go/doc/reader.go
var predeclaredConstants = map[string]bool{ "false": true, "iota": true, "nil": true, "true": true, } // assumedPackageName returns the assumed package name // for a given import path. This is a copy of // golang.org/x/tools/internal/imports.ImportPathToAssumedName. func assumedPackageName(importPath string) string { notIdentifier := func(ch rune) bool { return !('a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0)