func encoderOfStruct(ctx *ctx, typ reflect2.Type) ValEncoder { … } func createCheckIsEmpty(ctx *ctx, typ reflect2.Type) checkIsEmpty { … } func resolveConflictBinding(cfg *frozenConfig, old, new *Binding) (ignoreOld, ignoreNew bool) { … } type structFieldEncoder … func (encoder *structFieldEncoder) Encode(ptr unsafe.Pointer, stream *Stream) { … } func (encoder *structFieldEncoder) IsEmpty(ptr unsafe.Pointer) bool { … } func (encoder *structFieldEncoder) IsEmbeddedPtrNil(ptr unsafe.Pointer) bool { … } type IsEmbeddedPtrNil … type structEncoder … type structFieldTo … func (encoder *structEncoder) Encode(ptr unsafe.Pointer, stream *Stream) { … } func (encoder *structEncoder) IsEmpty(ptr unsafe.Pointer) bool { … } type emptyStructEncoder … func (encoder *emptyStructEncoder) Encode(ptr unsafe.Pointer, stream *Stream) { … } func (encoder *emptyStructEncoder) IsEmpty(ptr unsafe.Pointer) bool { … } type stringModeNumberEncoder … func (encoder *stringModeNumberEncoder) Encode(ptr unsafe.Pointer, stream *Stream) { … } func (encoder *stringModeNumberEncoder) IsEmpty(ptr unsafe.Pointer) bool { … } type stringModeStringEncoder … func (encoder *stringModeStringEncoder) Encode(ptr unsafe.Pointer, stream *Stream) { … } func (encoder *stringModeStringEncoder) IsEmpty(ptr unsafe.Pointer) bool { … }