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: 788,946 calls across 807 methods, with 44% of it flowing through the top 5.

164k 21% of dispatch
51 modules dispatch through it
64k 8% of dispatch
41 modules dispatch through it
62k 8% of dispatch
977 modules dispatch through it

every shape, by dispatch

Interface method Dispatch calls
github.com/onsi/gomega/types. Assertion.To
164,310
github.com/onsi/gomega/types. Assertion.ToNot
64,347
io. Closer.Close
61,787
net/http. ResponseWriter.WriteHeader
30,181
net/http. ResponseWriter.Header
24,060
context. Context.Done
22,938
context. Context.Err
18,987
io. Writer.Write
14,882
net/http. ResponseWriter.Write
13,997
github.com/onsi/gomega/types. Assertion.NotTo
13,217
net. Conn.Close
10,245
github.com/huaweicloud/huaweicloud-sdk-go-v3/core/converter. Converter.CovertStringToInterface
9,238
github.com/onsi/gomega/types. Assertion.Should
8,784
io/fs. DirEntry.Name
7,269
context. Context.Value
7,175
reflect. Type.Kind
7,074
net. Addr.String
7,048
github.com/go-kit/log. Logger.Log
6,574
reflect. Type.Elem
6,561
net/http. Handler.ServeHTTP
6,182
github.com/onsi/gomega/types. AsyncAssertion.Should
5,953
net. Listener.Addr
5,799
github.com/jdcloud-api/jdcloud-sdk-go/core. Logger.Log
5,211
io/fs. FileInfo.Mode
5,130
io/fs. FileInfo.IsDir
5,104
reflect. Type.PkgPath
4,844
net. Listener.Close
4,380
testing. TB.Helper
4,094
hash. Hash.Sum
4,027
io/fs. FileInfo.Size
3,677
net. Conn.Write
3,304
testing. TB.Fatalf
3,263
io. Reader.Read
3,147
go.opentelemetry.io/otel/trace. Span.End
2,899
io/fs. DirEntry.IsDir
2,577
io/fs. FileInfo.Name
2,453
reflect. Type.Field
2,425
testing. TB.Fatal
2,408
github.com/aws/aws-sdk-go/aws/awserr. Error.Code
2,320
github.com/prometheus/client_golang/prometheus. Counter.Inc
2,238
github.com/hashicorp/go-hclog. Logger.Error
2,146
io/fs. FileInfo.ModTime
2,041
net. Listener.Accept
2,011
reflect. Type.String
1,959
github.com/onsi/gomega/types. AsyncAssertion.WithTimeout
1,794
fmt. Stringer.String
1,771
github.com/kyverno/kyverno/pkg/metrics. Recorder.RecordWithContext
1,762
github.com/hashicorp/go-hclog. Logger.Debug
1,736
github.com/onsi/gomega/types. Gomega.Expect
1,693
testing. TB.Errorf
1,627
github.com/onsi/gomega/types. Assertion.ShouldNot
1,617
github.com/sirupsen/logrus. FieldLogger.WithField
1,607
gonum.org/v1/gonum/graph. Node.ID
1,606
net. Conn.Read
1,456
net. Conn.RemoteAddr
1,444
reflect. Type.NumField
1,411
reflect. Type.Name
1,341
github.com/onsi/gomega/types. AsyncAssertion.WithPolling
1,319
image. Image.Bounds
1,291
github.com/prometheus/client_golang/prometheus. Gauge.Set
1,271
github.com/hashicorp/go-hclog. Logger.Info
1,260
github.com/hashicorp/go-hclog. Logger.Warn
1,255
google.golang.org/protobuf/reflect/protoreflect. Descriptor.FullName
1,237
io. Seeker.Seek
1,226
net/http. RoundTripper.RoundTrip
1,202
github.com/vishvananda/netlink. Link.Attrs
1,148
go.opentelemetry.io/otel/trace. Span.SetAttributes
1,144
context. Context.Deadline
1,144
database/sql. Result.RowsAffected
1,130
net/http. Flusher.Flush
1,111
github.com/go-playground/validator/v10. FieldError.Field
1,075
github.com/prometheus/client_golang/prometheus. Counter.Add
1,066
net. Conn.SetReadDeadline
1,057
github.com/go-openapi/testify/v2/internal/assertions. H.Helper
1,044
github.com/hashicorp/go-hclog. Logger.Trace
1,006
github.com/sirupsen/logrus. FieldLogger.WithError
982
github.com/prometheus/client_golang/prometheus. Observer.Observe
977
google.golang.org/protobuf/reflect/protoreflect. MessageDescriptor.Fields
957
github.com/go-playground/validator/v10. FieldError.Param
923
github.com/ClickHouse/clickhouse-go/v2/lib/driver. Conn.Exec
904
github.com/uber/cadence/common/metrics. Scope.IncCounter
891
net. Conn.SetDeadline
873
github.com/sirupsen/logrus. FieldLogger.WithFields
830
testing. TB.Cleanup
819
github.com/pingcap/tidb/context. Context.GetSessionVars
817
github.com/akamai/AkamaiOPEN-edgegrid-golang/v13/pkg/log. Interface.Debug
809
reflect. Type.Implements
790
go.opentelemetry.io/otel/trace. Tracer.Start
768
go.temporal.io/server/common/log. Logger.Error
758
k8s.io/utils/clock. PassiveClock.Now
748
go.temporal.io/server/common/log. Logger.Info
745
github.com/sirupsen/logrus. InfoLogger.Infof
744
github.com/uber/cadence/common/log. Logger.Info
743
testing. TB.Logf
739
github.com/kubernetes/kubernetes/staging/src/k8s.io/kubectl/pkg/describe. PrefixWriter.Write
731
io/fs. FileInfo.Sys
730
xorm.io/builder. Cond.And
728
net. Conn.LocalAddr
728
k8s.io/kubectl/pkg/describe. PrefixWriter.Write
724
github.com/codenotary/immudb/embedded/sql. TypedValue.RawValue
720
go.temporal.io/server/common/metrics. CounterIface.Record
702
go/ast. Node.Pos
698
net. PacketConn.Close
681
google.golang.org/protobuf/reflect/protoreflect. Message.Descriptor
678
github.com/uber/cadence/common/metrics. Client.Scope
675
go/types. Type.Underlying
669
hash. Hash.Reset
669
vitess.io/vitess/go/trace. Span.Annotate
655
github.com/go-playground/validator/v10. FieldError.Tag
645
google.golang.org/protobuf/reflect/protoreflect. FieldDescriptors.ByName
634
github.com/uber/cadence/common/log. Logger.Error
632
github.com/baidubce/bce-sdk-go/bce. Client.SendRequest
630
github.com/jedib0t/go-pretty/v6/table. Writer.AppendRow
624
github.com/hashicorp/go-hclog. Logger.Named
621
reflect. Type.In
614
github.com/influxdata/telegraf. Accumulator.AddFields
605
github.com/rclone/rclone/fs. DirEntry.Remote
596
github.com/photoprism/photoprism/internal/event. Logger.Errorf
595
github.com/onsi/gomega/types. AsyncAssertion.ShouldNot
594
github.com/photoprism/photoprism/internal/event. Logger.Infof
583
reflect. Type.Key
575
github.com/miekg/dns. RR.Header
570
reflect. Type.NumIn
566
sync. Locker.Unlock
564
github.com/spf13/afero. Fs.MkdirAll
562
github.com/elastic/go-elasticsearch/v8/esapi. Transport.Perform
561
net. Error.Timeout
559
encoding/binary. ByteOrder.Uint32
555
io/fs. DirEntry.Info
554
google.golang.org/protobuf/reflect/protoreflect. FieldDescriptor.Kind
545
net. PacketConn.LocalAddr
543
github.com/photoprism/photoprism/internal/event. Logger.Debugf
541
google.golang.org/protobuf/reflect/protoreflect. Descriptor.Name
541
crypto. Signer.Public
536
github.com/sagernet/gvisor/pkg/marshal. CopyContext.CopyInBytes
532
github.com/sagernet/gvisor/pkg/marshal. CopyContext.CopyOutBytes
532
github.com/photoprism/photoprism/internal/event. Logger.Warnf
531
github.com/cilium/cilium/pkg/metrics/metric. Vec.WithLabelValues
531
github.com/gruntwork-io/terragrunt/pkg/log. Logger.Debugf
529
image. Image.At
525
sync. Locker.Lock
521
google.golang.org/protobuf/reflect/protoreflect. FieldDescriptor.Number
504
go.opentelemetry.io/otel/trace. Span.SetStatus
489
github.com/tetratelabs/wazero/internal/engine/wazevo/ssa. Builder.AllocateInstruction
488
gitea.dev/modules/setting. ConfigSection.Key
483
hash. Hash32.Sum32
483
io. ReaderAt.ReadAt
478
image/color. Color.RGBA
460
net. Addr.Network
452
github.com/influxdata/telegraf. Accumulator.AddError
451
gitea.dev/models/db. SQLSession.Where
451
github.com/influxdata/telegraf. Logger.Debugf
448
google.golang.org/protobuf/reflect/protoreflect. ProtoMessage.ProtoReflect
446
gopkg.in/go-playground/validator.v9. FieldError.Field
443
github.com/influxdata/telegraf. Logger.Errorf
439
github.com/ory/kratos/driver/config. Provider.Config
432
github.com/steveyegge/beads/internal/storage. Storage.CreateIssue
432
github.com/uber/cadence/common/clock. TimeSource.Now
429
github.com/jedib0t/go-pretty/v6/table. Writer.Render
427
io/fs. File.Close
421
github.com/go-gitea/gitea/modules/setting. ConfigSection.Key
420
go.opentelemetry.io/otel/trace. Span.RecordError
420
net. Conn.SetWriteDeadline
413
reflect. Type.AssignableTo
412
github.com/datarhei/gosrt/packet. Packet.Header
412
reflect. Type.Size
407
github.com/elastic/go-elasticsearch/v7/esapi. Transport.Perform
406
hash. Hash64.Sum64
406
github.com/drand/kyber. Group.Point
400
github.com/go-chi/chi/v5. Router.Get
396
github.com/rclone/rclone/fs. Info.Features
395
github.com/json-iterator/go. API.Unmarshal
395
github.com/sirupsen/logrus. InfoLogger.Info
391
github.com/hashicorp/boundary/internal/boundary. Entity.GetPublicId
390
github.com/tetratelabs/wazero/api. Function.Call
389
reflect. Type.FieldByName
388
github.com/sirupsen/logrus. DebugLogger.Debugf
379
crypto/cipher. AEAD.NonceSize
379
gopkg.in/go-playground/validator.v9. FieldError.Param
375
github.com/rclone/rclone/fs. DirEntry.Size
372
google.golang.org/protobuf/reflect/protoreflect. FieldDescriptor.Message
369
github.com/uber/cadence/common/metrics. Scope.ExponentialHistogram
362
vitess.io/vitess/go/trace. Span.Finish
360
reflect. Type.NumOut
359
gitea.dev/modules/git. ObjectID.String
359
reflect. Type.ConvertibleTo
358
github.com/thanos-io/thanos/pkg/extkingpin. FlagClause.Flag
357
github.com/go-restruct/restruct/expr. Value.RawValue
357
crypto/cipher. AEAD.Open
355
github.com/spf13/afero. Fs.Stat
355
net/http. Hijacker.Hijack
355
net. PacketConn.WriteTo
353
github.com/sagernet/sing/common/logger. ContextLogger.InfoContext
352
crypto/cipher. AEAD.Seal
352
go/ast. Node.End
351
github.com/sagernet/gvisor/pkg/marshal. CopyContext.CopyScratchBuffer
350
reflect. Type.Out
349
github.com/tetratelabs/wazero/api. Module.Memory
349
github.com/prometheus/client_golang/prometheus. Histogram.Observe
347
github.com/json-iterator/go. API.Marshal
347
go.uber.org/zap/zapcore. ObjectEncoder.AddString
345
github.com/gogo/protobuf/protoc-gen-gogo/generator. Single.Use
342
github.com/miekg/dns. ResponseWriter.WriteMsg
342
google.golang.org/protobuf/reflect/protoreflect. Message.Interface
340
github.com/runatlantis/atlantis/server/logging. SimpleLogging.Debug
339
istio.io/istio/pkg/kube. Client.Kube
339
github.com/google/cel-go/common/ast. Expr.ID
337
github.com/sirupsen/logrus. WarnLogger.Warnf
334
github.com/opentracing/opentracing-go. Span.Finish
331
vitess.io/vitess/go/vt/logutil. Logger.Infof
330
syscall. RawConn.Control
330
github.com/twmb/franz-go/pkg/kgo. Logger.Log
327
k8s.io/apimachinery/pkg/runtime. Object.GetObjectKind
325
go.temporal.io/server/service/history/interfaces. MutableState.GetExecutionInfo
323
io/fs. FS.Open
323
go/types. Object.Type
321
github.com/gruntwork-io/terragrunt/internal/component. Component.Path
321
github.com/a-h/parse. Parser.Parse
317
github.com/tetratelabs/wazero/api. Closer.Close
317
github.com/canopy-network/canopy/lib/crypto. AddressI.Bytes
316
github.com/drand/kyber. Point.Mul
314
github.com/eclipse/paho.mqtt.golang. Token.Error
314
github.com/syncthing/syncthing/lib/logger. Logger.Debugln
313
github.com/jedib0t/go-pretty/v6/table. Writer.AppendHeader
313
github.com/prometheus/client_golang/prometheus. Registerer.MustRegister
312
net. PacketConn.ReadFrom
312
github.com/googleapis/mcp-toolbox/internal/log. Logger.DebugContext
310
github.com/heroiclabs/nakama/server. session.Send
309
github.com/influxdata/telegraf. Metric.Name
308
github.com/stripe/stripe-go/v74. Backend.Call
306
k8s.io/apimachinery/pkg/runtime/schema. ObjectKind.GroupVersionKind
305
io/fs. DirEntry.Type
305
github.com/uber/cadence/service/history/execution. MutableState.GetExecutionInfo
305
github.com/stretchr/testify/assert. Helper
305
golang.org/x/crypto/ssh. PublicKey.Marshal
303
github.com/google/go-containerregistry/pkg/name. Reference.Context
300
io. StringWriter.WriteString
298
github.com/siderolabs/talos/internal/app/machined/pkg/runtime. Runtime.State
297
go.temporal.io/server/common/log. Logger.Warn
295
github.com/longhorn/longhorn-manager/k8s/pkg/client/clientset/versioned. Interface.LonghornV1beta2
292
gopkg.in/go-playground/validator.v9. FieldError.Tag
291
go.opentelemetry.io/otel/trace. Span.SpanContext
289
github.com/tetratelabs/wazero/api. Module.ExportedFunction
289
github.com/uber/cadence/common/log. Logger.Debug
287
crypto/cipher. Stream.XORKeyStream
285
k8s.io/apimachinery/pkg/runtime. Object.DeepCopyObject
279
github.com/sagernet/quic-go/internal/utils. Logger.Debugf
278
go.opentelemetry.io/otel/metric. Int64Counter.Add
275
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
google.golang.org/protobuf/reflect/protoreflect. Descriptor.ParentFile
272
testing. TB.TempDir
272
github.com/crossplane/crossplane-runtime/pkg/logging. Logger.Debug
271
github.com/navidrome/navidrome/model. DataStore.MediaFile
271
github.com/sirupsen/logrus. DebugLogger.Debug
270
github.com/anchore/go-logger. TraceMessageLogger.Trace
270
github.com/ollama/ollama/mlxrunner/nn. LinearLayer.Forward
269
encoding/binary. ByteOrder.PutUint32
269
github.com/go-playground/validator/v10. FieldError.Type
265
github.com/uber/cadence/common/log. Logger.Warn
265
github.com/hashicorp/go-hclog. Logger.With
265
hash. Hash.Size
265
fmt. State.Write
263
encoding. BinaryMarshaler.MarshalBinary
262
crypto/elliptic. Curve.Params
260
google.golang.org/protobuf/reflect/protoreflect. FileDescriptor.Path
260
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/elastic/go-elasticsearch/v6/esapi. Transport.Perform
255
github.com/prometheus/client_golang/prometheus. Gauge.Inc
254
github.com/pingcap/tidb/expression. Expression.GetType
251
github.com/tetratelabs/wazero/internal/engine/wazevo/backend. Compiler.ValueDefinition
249
github.com/sirupsen/logrus. ErrorLogger.Errorf
247
github.com/yuin/goldmark/util. BufWriter.WriteString
245
github.com/gravitational/teleport/lib/services. Resource.GetName
241
github.com/aws/smithy-go. APIError.ErrorCode
240
go.opentelemetry.io/otel/trace. Span.AddEvent
239
k8s.io/apimachinery/pkg/apis/meta/v1. Object.GetName
238
github.com/influxdata/telegraf. Metric.Time
237
google.golang.org/protobuf/reflect/protoreflect. Message.Get
236
github.com/fission/fission/pkg/generated/clientset/versioned. Interface.CoreV1
233
google.golang.org/protobuf/reflect/protoreflect. FieldDescriptors.Get
232
github.com/grafana/loki/v3/pkg/querier/queryrange/queryrangebase. Handler.Do
231
github.com/cockroachdb/cockroach/pkg/sql/sem/tree. TypedExpr.ResolvedType
229
reflect. Type.NumMethod
227
go/types. Object.Name
226
github.com/rclone/rclone/fs. DirEntry.ModTime
226
go.temporal.io/server/common/clock. TimeSource.Now
226
github.com/gopacket/gopacket. DecodeFeedback.SetTruncated
225
go/types. Type.String
225
fmt. State.Flag
225
google.golang.org/protobuf/reflect/protoreflect. Message.Set
224
github.com/drand/kyber. Group.Scalar
224
github.com/uber/cadence/common/metrics. Scope.Tagged
223
github.com/onsi/gomega/types. AsyncAssertion.WithContext
223
github.com/docker/cli/cli/command. Streams.Out
221
github.com/fission/fission/pkg/fission-cli/cliwrapper/cli. Input.String
221
github.com/sagernet/sing/common/logger. Logger.Error
221

Showing the top 300 of 807 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,198 types

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

context.Context std 22,866 types

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

io.Writer std 58,115 types

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

net/http.Handler std 57,269 types

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

io.Reader std 57,828 types

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

fmt.Stringer std 306,226 types

Showing 15 of 306,226 types found across the corpus.

io.Seeker std 56,701 types

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

net/http.RoundTripper std 56,774 types

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

sync.Locker std 53,864 types

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

io.ReaderAt std 56,650 types

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

database/sql/driver.Valuer std 56,937 types

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

sort.Interface std 29,914 types

Showing 15 of 29,914 types found across the corpus.

encoding.TextUnmarshaler std 57,683 types

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

encoding.TextMarshaler std 57,607 types

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

io.WriterTo std 57,190 types

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

encoding/json.Marshaler std 180,251 types

Showing 15 of 180,251 types found across the corpus.

encoding/json.Unmarshaler std 107,287 types

Showing 15 of 107,287 types found across the corpus.

io.ReaderFrom std 56,659 types

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

error std 76,935 types

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

io.ReadCloser std 53,376 types

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

io.ReadWriter std 53,231 types

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

io.WriteCloser std 53,335 types

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