Skip to content
callcount

go/types.Basic.Kind

standard library

The 3004th most-called standard-library method by production calls. Called 200 times across 23 modules; 197 of those run outside tests and generated code.

All of go/types → Docs on pkg.go.dev ↗

prod calls
197
non-test, non-generated
all calls
200
total callsites
modules
23
distinct callers
in loop
13%
of prod calls
in tests
2%
3 calls
resolved
100%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Concrete method100%A method on a value whose type is known exactly.

who calls this

Notable callers

Production calls into Basic.Kind from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 200, prioritizing in-loop and non-test usage. We link to source, never display it.

Basic.Kind · 12 of 200 callsites

top callers

The modules that reach for it

The modules that call Basic.Kind most in this snapshot.

  • golang.org/x/tools4422%
  • github.com/sagernet/gomobile3216%
  • github.com/tinygo-org/tinygo3116%
  • honnef.co/go/tools2010%
  • github.com/gopherjs/gopherjs1910%

siblings

More from go/types

The other most-called members in this package. See all →