github.com/anthropics/anthropic-sdk-go/option.WithHeader
third-partyThe 2069th most-called third-party function by production calls. Called 343 times across 4 modules; 320 of those run outside tests and generated code.
No change in production calls since 2026-W48.
All of github.com/anthropics/anthropic-sdk-go/option → Docs on pkg.go.dev ↗
- prod calls
- 320
- non-test, non-generated
- all calls
- 343
- total callsites
- modules
- 4
- distinct callers
- in loop
- 1%
- of prod calls
- in tests
- 7%
- 23 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 function99%A direct call to an exported package function, resolved by type.
- Package function (by syntax)<1%A package function in a module outside the crawl, keyed by import path.
where it's called
Callsites in the wild
12 representative callsites of 343, prioritizing in-loop and non-test usage. We link to source, never display it.
-
charm.land/fantasy @v0.48.3
providers/anthropic/call_useragent.go:23
in loop - in loop
- in loop
-
charm.land/fantasy @v0.48.3
providers/anthropic/anthropic.go:289
in loop -
-
-
-
charm.land/fantasy @v0.48.3
providers/anthropic/call_useragent.go:11
-
-
-
-
top callers
The modules that reach for it
The modules that call WithHeader most in this snapshot.
- github.com/anthropics/anthropic-sdk-go33598%
- github.com/alibaba/open-code-review41%
- charm.land/fantasy3<1%
- github.com/sipeed/picoclaw1<1%
siblings
More from github.com/anthropics/anthropic-sdk-go/option
The other most-called functions in this package. See all →