MCPcopy
hub / github.com/openai/openai-go / newPtrEncoder

Function newPtrEncoder

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

Source from the content-addressed store, hash-verified

951}
952
953func newPtrEncoder(t reflect.Type) encoderFunc {
954 enc := ptrEncoder{typeEncoder(t.Elem())}
955 return enc.encode
956}
957
958type condAddrEncoder struct {
959 canAddrEnc, elseEnc encoderFunc

Callers 1

newTypeEncoderFunction · 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…