MCPcopy Index your code
hub / github.com/openai/openai-go / newArrayEncoder

Function newArrayEncoder

internal/encoding/json/encode.go:923–926  ·  view source on GitHub ↗
(t reflect.Type)

Source from the content-addressed store, hash-verified

921}
922
923func newArrayEncoder(t reflect.Type) encoderFunc {
924 enc := arrayEncoder{typeEncoder(t.Elem())}
925 return enc.encode
926}
927
928type ptrEncoder struct {
929 elemEnc encoderFunc

Callers 2

newTypeEncoderFunction · 0.85
newSliceEncoderFunction · 0.85

Calls 1

typeEncoderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…