Skip to content
callcount

github.com/openai/openai-go/v3/packages/param.NewOpt

third-party

The 5233rd most-called third-party function by production calls. Called 129 times across 3 modules; 114 of those run outside tests and generated code.

4% in production calls vs 2026-W37 (110 → 114)

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

prod calls
114
non-test, non-generated
all calls
129
total callsites
modules
3
distinct callers
in loop
30%
of prod calls
in tests
12%
15 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.

where it's called

Callsites in the wild

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

NewOpt · 12 of 129 callsites
  • charm.land/fantasy @v0.44.0

    providers/openaicompat/language_model_hooks.go:299

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

    providers/openaicompat/language_model_hooks.go:349

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

    providers/openaicompat/language_model_hooks.go:366

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

    providers/openaicompat/language_model_hooks.go:367

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

    providers/openai/language_model_hooks.go:423

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

    providers/openai/language_model_hooks.go:473

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

    providers/openaicompat/language_model_hooks.go:482

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

    providers/openai/language_model_hooks.go:490

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

    providers/openai/language_model_hooks.go:491

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

    providers/openai/responses_language_model.go:516

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

    providers/openai/responses_language_model.go:529

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

    providers/openai/responses_language_model.go:530

    in loop

top callers

The modules that reach for it

The modules that call NewOpt most in this snapshot.

  • charm.land/fantasy8465%
  • github.com/openai/openai-go/v34434%
  • github.com/alibaba/open-code-review1<1%

siblings

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

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