Skip to content
callcount

github.com/openai/openai-go/v3/packages/param.Opt.Valid

third-party

The 2740th most-called third-party method by production calls. Called 237 times across 4 modules; 218 of those run outside tests and generated code.

All of github.com/openai/openai-go/v3/packages/param → Docs on pkg.go.dev ↗

prod calls
218
non-test, non-generated
all calls
237
total callsites
modules
4
distinct callers
in loop
4%
of prod calls
in tests
8%
19 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.

where it's called

Callsites in the wild

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

Opt.Valid · 12 of 237 callsites
  • charm.land/fantasy @v0.40.0

    providers/openrouter/language_model_hooks.go:786

    in loop
  • charm.land/fantasy @v0.40.0

    providers/openrouter/language_model_hooks.go:814

    in loop
  • charm.land/fantasy @v0.40.0

    providers/vercel/language_model_hooks.go:818

    in loop
  • charm.land/fantasy @v0.40.0

    providers/vercel/language_model_hooks.go:846

    in loop
  • charm.land/fantasy @v0.40.0

    providers/openrouter/language_model_hooks.go:847

    in loop
  • charm.land/fantasy @v0.40.0

    providers/vercel/language_model_hooks.go:878

    in loop
  • charm.land/fantasy @v0.40.0

    providers/openrouter/language_model_hooks.go:885

    in loop
  • charm.land/fantasy @v0.40.0

    providers/vercel/language_model_hooks.go:915

    in loop
  • charm.land/fantasy @v0.40.0

    providers/openrouter/language_model_hooks.go:923

    in loop
  • charm.land/fantasy @v0.40.0

    providers/openai/responses_params_test.go:51

    in loop test

top callers

The modules that reach for it

The modules that call Opt.Valid most in this snapshot.

  • github.com/openai/openai-go/v320888%
  • charm.land/fantasy146%
  • github.com/alibaba/open-code-review104%
  • github.com/sipeed/picoclaw52%

siblings

More from github.com/openai/openai-go/v3/packages/param

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