runtime.Frame.Line (field)
20 uses
runtime (current package)
extern.go#L322: return frame.PC, frame.File, frame.Line, frame.PC != 0
symtab.go#L55: Line int
symtab.go#L198: frame.File, frame.Line = file, int(line)
symtab.go#L314: Line: int(arg.lineno),
tracestack.go#L245: frame.line = uint64(f.Line)
runtime/pprof
pprof.go#L554: fmt.Fprintf(w, "#\t%#x\t%s+%#x\t%s:%d\n", frame.PC, name, frame.PC-frame.Entry, frame.File, frame.Line)
proto.go#L223: if frame.PC == 0 || frame.Function == "" || frame.File == "" || frame.Line == 0 {
proto.go#L633: b.pbLine(tagLocation_Line, funcID, int64(frame.Line))
go.uber.org/zap
logger.go#L397: Line: frame.Line,
go.uber.org/zap/internal/stacktrace
stack.go#L180: sf.b.AppendInt(int64(frame.Line))
golang.org/x/tools/internal/pkgbits
sync.go#L38: visit(frame.File, frame.Line, frame.Function, frame.PC-frame.Entry)
internal/bisect
bisect.go#L503: buf = appendFileLine(buf, f.File, f.Line)
log
log.go#L230: line = f.Line
log/slog
record.go#L230: Line: f.Line,
value.go#L529: fmt.Fprintf(&b, "called from %s (%s:%d)\n", frame.Function, frame.File, frame.Line)
net/http
server.go#L1188: w.conn.server.logf("http: response.WriteHeader on hijacked connection from %s (%s:%d)", caller.Function, path.Base(caller.File), caller.Line)
server.go#L1193: w.conn.server.logf("http: superfluous response.WriteHeader call from %s (%s:%d)", caller.Function, path.Base(caller.File), caller.Line)
server.go#L1669: w.conn.server.logf("http: response.Write on hijacked connection from %s (%s:%d)", caller.Function, path.Base(caller.File), caller.Line)
server.go#L3942: logf(tw.req, "http: superfluous response.WriteHeader call from %s (%s:%d)", caller.Function, path.Base(caller.File), caller.Line)
testing
testing.go#L1069: line := frame.Line