Skip to content
callcount

interfaces

The interfaces Go dispatches through most

An interface call doesn’t land on one function. A write to an io.Writer might hit a file, a buffer, or a socket, so these calls sit outside the optimization ranking and get their own lens here. This is where dispatch concentrates: 489,297 calls across 840 methods, with 29% of it flowing through the top 5.

58k 12% of dispatch
970 modules dispatch through it
28k 6% of dispatch
599 modules dispatch through it
21k 4% of dispatch
572 modules dispatch through it

every shape, by dispatch

Interface method Dispatch calls
io. Closer.Close
58,482
net/http. ResponseWriter.WriteHeader
27,885
net/http. ResponseWriter.Header
21,451
context. Context.Done
20,913
context. Context.Err
15,492
io. Writer.Write
13,993
net/http. ResponseWriter.Write
11,981
github.com/huaweicloud/huaweicloud-sdk-go-v3/core/converter. Converter.CovertStringToInterface
8,905
net. Conn.Close
8,476
reflect. Type.Kind
6,751
io/fs. DirEntry.Name
6,729
context. Context.Value
6,695
reflect. Type.Elem
6,299
net. Addr.String
6,124
net/http. Handler.ServeHTTP
5,629
github.com/go-kit/log. Logger.Log
5,240
net. Listener.Addr
4,945
io/fs. FileInfo.IsDir
4,881
reflect. Type.PkgPath
4,804
io/fs. FileInfo.Mode
4,564
github.com/jdcloud-api/jdcloud-sdk-go/core. Logger.Log
4,338
hash. Hash.Sum
3,755
testing. TB.Helper
3,705
net. Listener.Close
3,627
io/fs. FileInfo.Size
3,434
testing. TB.Fatalf
3,116
io. Reader.Read
2,899
go.opentelemetry.io/otel/trace. Span.End
2,773
net. Conn.Write
2,765
io/fs. FileInfo.Name
2,442
io/fs. DirEntry.IsDir
2,399
reflect. Type.Field
2,335
github.com/aws/aws-sdk-go/aws/awserr. Error.Code
2,320
testing. TB.Fatal
2,256
github.com/hashicorp/go-hclog. Logger.Error
2,144
github.com/onsi/gomega/types. Assertion.To
2,117
reflect. Type.String
1,922
io/fs. FileInfo.ModTime
1,883
fmt. Stringer.String
1,759
github.com/kyverno/kyverno/pkg/metrics. Recorder.RecordWithContext
1,724
github.com/hashicorp/go-hclog. Logger.Debug
1,721
net. Listener.Accept
1,673
gonum.org/v1/gonum/graph. Node.ID
1,595
testing. TB.Errorf
1,512
github.com/sirupsen/logrus. FieldLogger.WithField
1,486
net. Conn.RemoteAddr
1,372
reflect. Type.NumField
1,365
net. Conn.Read
1,303
reflect. Type.Name
1,293
github.com/hashicorp/go-hclog. Logger.Warn
1,230
github.com/hashicorp/go-hclog. Logger.Info
1,219
io. Seeker.Seek
1,160
database/sql. Result.RowsAffected
1,131
github.com/vishvananda/netlink. Link.Attrs
1,114
image. Image.Bounds
1,101
github.com/go-playground/universal-translator. Translator.T
1,078
github.com/go-playground/validator/v10. FieldError.Field
1,075
net/http. RoundTripper.RoundTrip
1,069
go.opentelemetry.io/otel/trace. Span.SetAttributes
1,046
github.com/go-openapi/testify/v2/internal/assertions. H.Helper
1,044
github.com/hashicorp/go-hclog. Logger.Trace
1,001
github.com/sirupsen/logrus. FieldLogger.WithError
951
context. Context.Deadline
927
github.com/go-playground/validator/v10. FieldError.Param
923
net/http. Flusher.Flush
914
github.com/prometheus/client_golang/prometheus. Counter.Inc
908
net. Conn.SetReadDeadline
887
github.com/uber/cadence/common/metrics. Scope.IncCounter
876
github.com/ClickHouse/clickhouse-go/v2/lib/driver. Conn.Exec
858
github.com/pingcap/tidb/context. Context.GetSessionVars
817
github.com/dapr/durabletask-go/task. Task.Await
816
github.com/akamai/AkamaiOPEN-edgegrid-golang/v13/pkg/log. Interface.Debug
809
testing. TB.Logf
781
github.com/sirupsen/logrus. FieldLogger.WithFields
768
go.temporal.io/server/common/log. Logger.Error
758
go.temporal.io/server/common/log. Logger.Info
745
go.opentelemetry.io/otel/trace. Tracer.Start
738
testing. TB.Cleanup
734
xorm.io/builder. Cond.And
728
reflect. Type.Implements
728
github.com/uber/cadence/common/log. Logger.Info
725
github.com/onsi/gomega/types. AsyncAssertion.Should
725
k8s.io/kubectl/pkg/describe. PrefixWriter.Write
724
k8s.io/utils/clock. PassiveClock.Now
724
github.com/codenotary/immudb/embedded/sql. TypedValue.RawValue
718
net. Conn.LocalAddr
716
go.temporal.io/server/common/metrics. CounterIface.Record
701
github.com/kubernetes/kubernetes/staging/src/k8s.io/kubectl/pkg/describe. PrefixWriter.Write
698
github.com/sirupsen/logrus. InfoLogger.Infof
692
go/ast. Node.Pos
665
github.com/uber/cadence/common/metrics. Client.Scope
660
net. Conn.SetDeadline
659
vitess.io/vitess/go/trace. Span.Annotate
652
hash. Hash.Reset
652
io/fs. FileInfo.Sys
650
github.com/google/cel-go/common/types/ref. Val.Value
650
github.com/go-playground/universal-translator. Translator.Add
645
github.com/go-playground/validator/v10. FieldError.Tag
642
github.com/baidubce/bce-sdk-go/bce. Client.SendRequest
629
github.com/uber/cadence/common/log. Logger.Error
623
github.com/hashicorp/go-hclog. Logger.Named
621
github.com/influxdata/telegraf. Accumulator.AddFields
605
github.com/photoprism/photoprism/internal/event. Logger.Errorf
599
go/types. Type.Underlying
596
net. PacketConn.Close
594
reflect. Type.In
588
github.com/elastic/go-elasticsearch/v8/esapi. Transport.Perform
561
github.com/rclone/rclone/fs. DirEntry.Remote
552
github.com/jedib0t/go-pretty/v6/table. Writer.AppendRow
552
sync. Locker.Unlock
551
reflect. Type.NumIn
543
reflect. Type.Key
541
encoding/binary. ByteOrder.Uint32
537
github.com/photoprism/photoprism/internal/event. Logger.Infof
534
github.com/sagernet/gvisor/pkg/marshal. CopyContext.CopyInBytes
532
github.com/sagernet/gvisor/pkg/marshal. CopyContext.CopyOutBytes
532
google.golang.org/protobuf/reflect/protoreflect. Descriptor.FullName
526
io/fs. DirEntry.Info
525
github.com/cilium/cilium/pkg/metrics/metric. Vec.WithLabelValues
521
github.com/go-playground/universal-translator. Translator.AddCardinal
514
sync. Locker.Lock
509
github.com/miekg/dns. RR.Header
508
github.com/gruntwork-io/terragrunt/pkg/log. Logger.Debugf
503
google.golang.org/protobuf/reflect/protoreflect. MessageDescriptor.Fields
499
net. Error.Timeout
493
github.com/json-iterator/go. API.Unmarshal
491
github.com/tetratelabs/wazero/internal/engine/wazevo/ssa. Builder.AllocateInstruction
488
gitea.dev/modules/setting. ConfigSection.Key
483
go.opentelemetry.io/otel/trace. Span.SetStatus
477
hash. Hash32.Sum32
473
net. PacketConn.LocalAddr
472
github.com/photoprism/photoprism/internal/event. Logger.Debugf
466
github.com/influxdata/telegraf. Accumulator.AddError
451
gitea.dev/models/db. SQLSession.Where
451
crypto. Signer.Public
446
gopkg.in/go-playground/validator.v9. FieldError.Field
443
github.com/influxdata/telegraf. Logger.Debugf
438
net. Addr.Network
435
image. Image.At
434
github.com/ory/kratos/driver/config. Provider.Config
432
io. ReaderAt.ReadAt
429
github.com/spf13/afero. Fs.MkdirAll
429
github.com/go-gitea/gitea/modules/setting. ConfigSection.Key
420
go.opentelemetry.io/otel/trace. Span.RecordError
420
github.com/uber/cadence/common/clock. TimeSource.Now
419
github.com/influxdata/telegraf. Logger.Errorf
416
github.com/photoprism/photoprism/internal/event. Logger.Warnf
416
github.com/elastic/go-elasticsearch/v7/esapi. Transport.Perform
406
hash. Hash64.Sum64
403
image/color. Color.RGBA
402
github.com/drand/kyber. Group.Point
400
github.com/hashicorp/boundary/internal/boundary. Entity.GetPublicId
390
github.com/prometheus/client_golang/prometheus. Gauge.Set
386
github.com/sirupsen/logrus. InfoLogger.Info
384
reflect. Type.AssignableTo
384
github.com/tetratelabs/wazero/api. Function.Call
381
github.com/go-chi/chi/v5. Router.Get
380
github.com/deckarep/golang-set/v2. Set.Add
378
github.com/rclone/rclone/fs. Info.Features
377
net. Conn.SetWriteDeadline
376
gopkg.in/go-playground/validator.v9. FieldError.Param
375
reflect. Type.Size
372
github.com/json-iterator/go. API.Marshal
370
google.golang.org/protobuf/reflect/protoreflect. FieldDescriptor.Number
369
reflect. Type.FieldByName
363
github.com/datarhei/gosrt/packet. Packet.Header
361
vitess.io/vitess/go/trace. Span.Finish
360
gitea.dev/modules/git. ObjectID.String
359
go.uber.org/zap/zapcore. ObjectEncoder.AddString
359
github.com/uber/cadence/common/metrics. Scope.ExponentialHistogram
358
github.com/thanos-io/thanos/pkg/extkingpin. FlagClause.Flag
357
github.com/go-restruct/restruct/expr. Value.RawValue
357
github.com/sirupsen/logrus. DebugLogger.Debugf
355
reflect. Type.ConvertibleTo
353
io/fs. File.Close
353
github.com/sagernet/gvisor/pkg/marshal. CopyContext.CopyScratchBuffer
350
github.com/sagernet/sing/common/logger. ContextLogger.InfoContext
350
reflect. Type.NumOut
349
github.com/rclone/rclone/fs. DirEntry.Size
345
github.com/jedib0t/go-pretty/v6/table. Writer.Render
345
github.com/tetratelabs/wazero/api. Module.Memory
344
github.com/gogo/protobuf/protoc-gen-gogo/generator. Single.Use
342
reflect. Type.Out
340
github.com/runatlantis/atlantis/server/logging. SimpleLogging.Debug
337
github.com/google/cel-go/common/ast. Expr.ID
337
github.com/steveyegge/beads/internal/storage. Storage.CreateIssue
336
go/ast. Node.End
333
vitess.io/vitess/go/vt/logutil. Logger.Infof
330
github.com/onsi/gomega/types. AsyncAssertion.WithTimeout
330
github.com/opentracing/opentracing-go. Span.Finish
328
net. PacketConn.WriteTo
328
istio.io/istio/pkg/kube. Client.Kube
326
github.com/twmb/franz-go/pkg/kgo. Logger.Log
325
go.temporal.io/server/service/history/interfaces. MutableState.GetExecutionInfo
323
crypto/cipher. AEAD.NonceSize
320
k8s.io/apimachinery/pkg/runtime. Object.GetObjectKind
320
google.golang.org/protobuf/reflect/protoreflect. FieldDescriptor.Kind
320
crypto/cipher. AEAD.Open
316
github.com/drand/kyber. Point.Mul
314
github.com/go-playground/universal-translator. Translator.C
313
github.com/syncthing/syncthing/lib/logger. Logger.Debugln
313
github.com/a-h/parse. Parser.Parse
313
github.com/gruntwork-io/terragrunt/internal/component. Component.Path
313
github.com/miekg/dns. ResponseWriter.WriteMsg
311
github.com/eclipse/paho.mqtt.golang. Token.Error
311
github.com/tetratelabs/wazero/api. Closer.Close
311
github.com/heroiclabs/nakama/server. session.Send
309
github.com/canopy-network/canopy/lib/crypto. AddressI.Bytes
307
github.com/stripe/stripe-go/v74. Backend.Call
306
github.com/influxdata/telegraf. Metric.Name
306
crypto/cipher. AEAD.Seal
305
github.com/google/go-containerregistry/pkg/name. Reference.Context
305
github.com/stretchr/testify/assert. Helper
305
github.com/uber/cadence/service/history/execution. MutableState.GetExecutionInfo
304
net/http. Hijacker.Hijack
303
k8s.io/apimachinery/pkg/runtime/schema. ObjectKind.GroupVersionKind
302
io. StringWriter.WriteString
300
github.com/siderolabs/talos/internal/app/machined/pkg/runtime. Runtime.State
297
github.com/spf13/afero. Fs.Stat
295
github.com/sirupsen/logrus. WarnLogger.Warnf
293
io/fs. FS.Open
292
gopkg.in/go-playground/validator.v9. FieldError.Tag
291
github.com/jedib0t/go-pretty/v6/table. Writer.AppendHeader
290
crypto/cipher. Stream.XORKeyStream
289
go.temporal.io/server/common/log. Logger.Warn
288
github.com/expr-lang/expr/internal/testify/assert. Helper
285
go/types. Object.Type
284
github.com/uber/cadence/common/log. Logger.Debug
282
net. PacketConn.ReadFrom
282
github.com/googleapis/mcp-toolbox/internal/log. Logger.DebugContext
279
github.com/tetratelabs/wazero/api. Module.ExportedFunction
279
github.com/sagernet/quic-go/internal/utils. Logger.Debugf
278
k8s.io/apimachinery/pkg/runtime. Object.DeepCopyObject
278
go.temporal.io/server/common/metrics. Handler.WithTags
275
github.com/syncthing/syncthing/lib/logger. Logger.Debugf
273
github.com/cockroachdb/cockroach/pkg/col/coldata. Batch.ColVec
273
github.com/sirupsen/logrus. DebugLogger.Debug
270
github.com/crossplane/crossplane-runtime/pkg/logging. Logger.Debug
269
encoding/binary. ByteOrder.PutUint32
269
google.golang.org/protobuf/reflect/protoreflect. Message.Descriptor
268
syscall. RawConn.Control
267
github.com/go-playground/validator/v10. FieldError.Type
265
github.com/hashicorp/go-hclog. Logger.With
264
io/fs. DirEntry.Type
264
fmt. State.Write
263
go.opentelemetry.io/otel/trace. Span.SpanContext
263
github.com/google/cel-go/common/ast. Expr.Kind
260
go.opentelemetry.io/otel/metric. Int64Counter.Add
259
github.com/ory/kratos/x. WriterProvider.Writer
258
gitea.dev/models/db. SQLSession.ID
257
github.com/pingcap/tidb/plan. Plan.Schema
256
github.com/longhorn/longhorn-manager/k8s/pkg/client/clientset/versioned. Interface.LonghornV1beta2
256
github.com/elastic/go-elasticsearch/v6/esapi. Transport.Perform
255
encoding. BinaryMarshaler.MarshalBinary
254
github.com/pingcap/tidb/expression. Expression.GetType
251
github.com/anchore/go-logger. TraceMessageLogger.Trace
250
github.com/tetratelabs/wazero/internal/engine/wazevo/backend. Compiler.ValueDefinition
249
testing. TB.TempDir
248
hash. Hash.Size
247
github.com/yuin/goldmark/util. BufWriter.WriteString
245
github.com/uber/cadence/common/log. Logger.Warn
245
github.com/google/cel-go/common/types/ref. Val.Type
244
go.opentelemetry.io/otel/trace. Span.AddEvent
243
github.com/gravitational/teleport/lib/services. Resource.GetName
241
github.com/influxdata/telegraf. Metric.Time
238
github.com/influxdata/telegraf. Metric.Fields
238
github.com/onsi/gomega/types. Assertion.NotTo
234
google.golang.org/protobuf/reflect/protoreflect. ProtoMessage.ProtoReflect
234
github.com/aws/smithy-go. APIError.ErrorCode
234
github.com/fission/fission/pkg/generated/clientset/versioned. Interface.CoreV1
233
github.com/onsi/gomega/types. Assertion.ToNot
232
github.com/grafana/loki/v3/pkg/querier/queryrange/queryrangebase. Handler.Do
231
github.com/cockroachdb/cockroach/pkg/sql/sem/tree. TypedExpr.ResolvedType
229
crypto/elliptic. Curve.Params
228
github.com/sirupsen/logrus. ErrorLogger.Errorf
226
go.temporal.io/server/common/clock. TimeSource.Now
226
github.com/prometheus/client_golang/prometheus. Counter.Add
224
github.com/drand/kyber. Group.Scalar
224
github.com/docker/cli/cli/command. Streams.Out
221
github.com/fission/fission/pkg/fission-cli/cliwrapper/cli. Input.String
221
io. ByteReader.ReadByte
221
github.com/sagernet/sing/common/logger. Logger.Error
220
k8s.io/apimachinery/pkg/apis/meta/v1. Object.GetName
220
fmt. State.Flag
219
reflect. Type.NumMethod
219
github.com/hashicorp/boundary/internal/db. Writer.DoTx
218
k8s.io/apimachinery/pkg/labels. Selector.String
217
github.com/codenotary/immudb/embedded/logger. Logger.Infof
216
go/types. Object.Name
216
github.com/uber/cadence/common/metrics. Scope.Tagged
216
github.com/stripe/stripe-go. Backend.Call
215
github.com/zitadel/zitadel/internal/eventstore. Event.Sequence
213
github.com/steveyegge/beads/internal/storage/uow. UnitOfWork.IssueUseCase
213
github.com/gomodule/redigo/redis. Conn.Do
213
github.com/opentracing/opentracing-go. Span.SetTag
212
github.com/rclone/rclone/fs. DirEntry.ModTime
211
gonum.org/v1/gonum/graph. Iterator.Next
211
github.com/eclipse/paho.mqtt.golang. Logger.Println
210
github.com/google/gopacket. Packet.Layer
209
github.com/IBM/sarama. packetEncoder.putEmptyTaggedFieldArray
207

Showing the top 300 of 840 interface methods by dispatch. Search any method by name up top, or open it directly.

Dispatch calls count the callsites that go through the interface method; the runtime target may be any implementation. That’s why these are reported separately from the resolved ranking. See the taxonomy.

what implements each shape

The types behind the interfaces

This index lists the concrete types the checker proved satisfy each interface, found across the corpus; each shape shows up to 15 here, with the full number of implementations stated beside it. Membership is decided by the type checker, never by name.

io.Closer std 61,365 types

Showing 15 of 61,365 types found across the corpus.

context.Context std 22,934 types

Showing 15 of 22,934 types found across the corpus.

io.Writer std 58,192 types

Showing 15 of 58,192 types found across the corpus.

net/http.Handler std 57,355 types

Showing 15 of 57,355 types found across the corpus.

io.Reader std 57,926 types

Showing 15 of 57,926 types found across the corpus.

fmt.Stringer std 301,437 types

Showing 15 of 301,437 types found across the corpus.

io.Seeker std 56,812 types

Showing 15 of 56,812 types found across the corpus.

net/http.RoundTripper std 56,883 types

Showing 15 of 56,883 types found across the corpus.

sync.Locker std 53,950 types

Showing 15 of 53,950 types found across the corpus.

io.ReaderAt std 56,759 types

Showing 15 of 56,759 types found across the corpus.

database/sql/driver.Valuer std 57,035 types

Showing 15 of 57,035 types found across the corpus.

sort.Interface std 30,002 types

Showing 15 of 30,002 types found across the corpus.

encoding.TextUnmarshaler std 57,810 types

Showing 15 of 57,810 types found across the corpus.

encoding.TextMarshaler std 57,732 types

Showing 15 of 57,732 types found across the corpus.

encoding/json.Marshaler std 176,120 types

Showing 15 of 176,120 types found across the corpus.

io.WriterTo std 57,294 types

Showing 15 of 57,294 types found across the corpus.

encoding/json.Unmarshaler std 104,697 types

Showing 15 of 104,697 types found across the corpus.

io.ReaderFrom std 56,767 types

Showing 15 of 56,767 types found across the corpus.

error std 76,972 types

Showing 15 of 76,972 types found across the corpus.

io.ReadCloser std 53,455 types

Showing 15 of 53,455 types found across the corpus.

io.ReadWriter std 53,308 types

Showing 15 of 53,308 types found across the corpus.

io.WriteCloser std 53,414 types

Showing 15 of 53,414 types found across the corpus.