- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newImportReader (0.21 sec)
-
src/cmd/go/internal/imports/read.go
"io" "unicode/utf8" ) type importReader struct { b *bufio.Reader buf []byte peek byte err error eof bool nerr int } var bom = []byte{0xef, 0xbb, 0xbf} func newImportReader(b *bufio.Reader) *importReader { // Remove leading UTF-8 BOM. // Per https://golang.org/ref/spec#Source_code_representation: // a compiler may ignore a UTF-8-encoded byte order mark (U+FEFF)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 15 18:42:11 UTC 2021 - 6.1K bytes - Viewed (0)