Skip to content
callcount

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

third-party

The 5410th most-called third-party function by production calls. Called 124 times across 2 modules; 109 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
109
non-test, non-generated
all calls
124
total callsites
modules
2
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 124, prioritizing in-loop and non-test usage. We link to source, never display it.

NewOpt · 12 of 124 callsites
  • charm.land/fantasy @v0.40.0

    providers/openaicompat/language_model_hooks.go:260

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

    providers/openaicompat/language_model_hooks.go:310

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

    providers/openaicompat/language_model_hooks.go:327

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

    providers/openaicompat/language_model_hooks.go:328

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

    providers/openai/language_model_hooks.go:378

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

    providers/openaicompat/language_model_hooks.go:396

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

    providers/openai/language_model_hooks.go:428

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

    providers/openai/language_model_hooks.go:445

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

    providers/openai/language_model_hooks.go:446

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

    providers/openai/responses_language_model.go:478

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

    providers/openai/responses_language_model.go:491

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

    providers/openai/responses_language_model.go:492

    in loop

top callers

The modules that reach for it

The modules that call NewOpt most in this snapshot.

  • charm.land/fantasy8367%
  • github.com/openai/openai-go/v34133%

siblings

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

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