bufio.Scanner.Text (method)
55 uses
bufio (current package)
scan.go#L112: func (s *Scanner) Text() string {
github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds
ec2_role_provider.go#L150: credsList = append(credsList, s.Text())
github.com/go-git/go-git/v5/plumbing/transport/internal/common
common.go#L154: errLine <- s.Text()
github.com/go-git/go-git/v5/storage/filesystem
shallow.go#L50: hash = append(hash, plumbing.NewHash(scn.Text()))
github.com/go-git/go-git/v5/storage/filesystem/dotgit
dotgit.go#L663: ref, err := d.processLine(s.Text())
dotgit.go#L830: line := s.Text()
dotgit.go#L1059: path := scanner.Text()
github.com/google/pprof/profile
legacy_profile.go#L82: for s.Scan() && isSpaceOrComment(s.Text()) {
legacy_profile.go#L87: m := countStartRE.FindStringSubmatch(s.Text())
legacy_profile.go#L99: line := s.Text()
legacy_profile.go#L477: line := s.Text()
legacy_profile.go#L510: line := strings.TrimSpace(s.Text())
legacy_profile.go#L688: switch l := s.Text(); {
legacy_profile.go#L709: line := s.Text()
legacy_profile.go#L754: line := strings.TrimSpace(s.Text())
legacy_profile.go#L839: for s.Scan() && isSpaceOrComment(s.Text()) {
legacy_profile.go#L842: line := s.Text()
legacy_profile.go#L846: if line = s.Text(); isMemoryMapSentinel(line) || strings.HasPrefix(line, "-") {
legacy_profile.go#L926: line = strings.TrimSpace(s.Text())
legacy_profile.go#L957: for !isMemoryMapSentinel(s.Text()) && s.Scan() {
legacy_profile.go#L981: line := r.Replace(removeLoggingInfo(s.Text()))
github.com/jackc/pgpassfile
pgpass.go#L43: entry := parseLine(scanner.Text())
github.com/jackc/pgservicefile
pgservicefile.go#L52: line := scanner.Text()
github.com/lib/pq
conn.go#L239: line := scanner.Text()
github.com/prometheus/procfs
buddyinfo.go#L54: line := scanner.Text()
cpuinfo.go#L71: line := scanner.Text()
ipvs.go#L149: fields := strings.Fields(scanner.Text())
meminfo.go#L166: fields := strings.Fields(s.Text())
meminfo.go#L168: return nil, fmt.Errorf("malformed meminfo line: %q", s.Text())
mountinfo.go#L60: mountString := scanner.Text()
net_dev.go#L76: line, err := netDev.parseLine(s.Text())
net_sockstat.go#L85: fields := strings.Split(s.Text(), " ")
net_sockstat.go#L87: return nil, fmt.Errorf("malformed sockstat line: %q", s.Text())
net_sockstat.go#L93: return nil, fmt.Errorf("error parsing sockstat key/value pairs from %q: %v", s.Text(), err)
net_unix.go#L119: header := scanner.Text()
net_unix.go#L130: line := scanner.Text()
proc_fdinfo.go#L58: text = scanner.Text()
proc_limits.go#L100: fields := limitsDelimiter.Split(s.Text(), limitsFields)
proc_limits.go#L103: "couldn't parse %s line %s", f.Name(), s.Text())
proc_psi.go#L74: l := scanner.Text()
schedstat.go#L71: match := cpuLineRE.FindStringSubmatch(scanner.Text())
stat.go#L178: line := scanner.Text()
stat.go#L179: parts := strings.Fields(scanner.Text())
xfrm.go#L112: fields := strings.Fields(s.Text())
xfrm.go#L116: "couldn't parse %s line %s", file.Name(), s.Text())
golang.org/x/oauth2/google
sdk.go#L157: line := strings.TrimSpace(scanner.Text())
golang.org/x/pkgsite/cmd/worker
main.go#L252: line := strings.TrimSpace(scan.Text())
golang.org/x/pkgsite/devtools/cmd/css
main.go#L61: text := scanner.Text()
golang.org/x/pkgsite/internal/godoc/codec
generate.go#L58: line := scan.Text()
golang.org/x/pkgsite/internal/proxy
client.go#L231: versions = append(versions, scanner.Text())
golang.org/x/pkgsite/internal/symbol
apigodoc.go#L134: row, ok := parseRow(sc.Text())
golang.org/x/pkgsite/internal/worker
memory.go#L59: words := strings.Fields(scan.Text())
memory.go#L172: fs := strings.Fields(scan.Text())
memory.go#L174: return nil, fmt.Errorf("memory.stat: %q: not two fields", scan.Text())
mime
type_unix.go#L35: fields := strings.Fields(scanner.Text())
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |