github.com/gorilla/mux.NewRouter
third-partyThe 3346th most-called third-party function by production calls. Called 463 times across 71 modules; 178 of those run outside tests and generated code.
No change in production calls since 2026-W37.
- prod calls
- 178
- non-test, non-generated
- all calls
- 463
- total callsites
- modules
- 71
- distinct callers
- in loop
- 1%
- of prod calls
- in tests
- 62%
- 285 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 463, 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-20260921075935-e2608edda4f9
in loop test -
grafana/dskit @v0.0.0-20260921091527-3719cfb34699
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/seaweedfs/seaweedfs7416%
- github.com/gorilla/mux6113%
- github.com/netbirdio/netbird378%
- github.com/gofr-dev/gofr296%
- github.com/dapr/dapr286%
siblings
More from github.com/gorilla/mux
The other most-called functions in this package. See all →