html/template.HTMLEscapeString
standard libraryThe 8969th most-called standard-library function by production calls. Called 68 times across 12 modules; 68 of those run outside tests and generated code.
No change in production calls since 2026-W37.
- prod calls
- 68
- non-test, non-generated
- all calls
- 68
- total callsites
- modules
- 12
- distinct callers
- in loop
- 51%
- of prod calls
- in tests
- 0%
- 0 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 function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into HTMLEscapeString from notable Go projects. Open one on the map to see what else it hammers.
- Gitea 20 29%
- Harbor 2 3%
- Kubernetes 2 3%
where it's called
Callsites in the wild
12 representative callsites of 68, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
gitea.dev @v1.27.3
routers/web/repo/pull_merge_box.go:31
in loop - in loop
- in loop
-
google/pprof @v0.0.0-20260906184651-6331bc6350fe
in loop -
revel/revel @v1.1.0
in loop - in loop
-
k8s.io/apiserver @v0.37.0
pkg/server/routes/flags.go:83
in loop - in loop
-
gitea.dev @v1.27.3
modules/htmlutil/html.go:46
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call HTMLEscapeString most in this snapshot.
- gitea.dev2029%
- github.com/go-gitea/gitea2029%
- github.com/beego/beego/v21218%
- github.com/astaxie/build-web-application-with-golang57%
- github.com/gogs/gogs23%
siblings
More from html/template
The other most-called functions in this package. See all →