MCPcopy Create free account
hub / github.com/blues/note / newPtrEncoder

Function newPtrEncoder

jsonxt/encode.go:810–813  ·  view source on GitHub ↗
(t reflect.Type)

Source from the content-addressed store, hash-verified

808}
809
810func newPtrEncoder(t reflect.Type) encoderFunc {
811 enc := ptrEncoder{typeEncoder(t.Elem())}
812 return enc.encode
813}
814
815type condAddrEncoder struct {
816 canAddrEnc, elseEnc encoderFunc

Callers 1

newTypeEncoderFunction · 0.85

Calls 1

typeEncoderFunction · 0.85

Tested by

no test coverage detected