github.com/gorilla/mux.NewRouter
third-partyThe 3342nd most-called third-party function by production calls. Called 423 times across 71 modules; 177 of those run outside tests and generated code.
- prod calls
- 177
- non-test, non-generated
- all calls
- 423
- total callsites
- modules
- 71
- distinct callers
- in loop
- 1%
- of prod calls
- in tests
- 58%
- 246 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 →
- Package function91%A direct call to an exported package function, resolved by type.
- Package function (by syntax)9%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into NewRouter 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 423, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop test
-
gorilla/mux @v1.8.1
in loop test - in loop test
-
seaweedfs/seaweedfs @v0.0.0-20260805044234-3c549b33ab8d
in loop test -
grafana/dskit @v0.0.0-20260804161922-ca94e9ff1c22
in loop test - in loop test
- in loop test
- in loop test
-
gorilla/mux @v1.8.1
in loop test - in loop test
top callers
The modules that reach for it
The modules that call NewRouter most in this snapshot.
- github.com/gorilla/mux6114%
- github.com/seaweedfs/seaweedfs5713%
- github.com/netbirdio/netbird379%
- github.com/dapr/dapr287%
- github.com/cortexproject/cortex205%
siblings
More from github.com/gorilla/mux
The other most-called functions in this package. See all →