Versions in this module Expand all Collapse all v1 v1.0.1 Jun 6, 2026 v1.0.0 Jun 6, 2026 Changes in this version + const DefaultTagName + var ErrDoesNotImplementInterface = errors.New("zapcodec: does not implement interface") + var ErrDuplicateType = errors.New("zapcodec: duplicate type registration") + var ErrInsufficientLength = errors.New("zapcodec: packer has insufficient length") + var ErrMarshalNil = errors.New("zapcodec: can't marshal nil pointer") + var ErrMarshalZeroLength = errors.New("zapcodec: can't marshal zero length value") + var ErrMaxSliceLenExceeded = errors.New("zapcodec: max slice length exceeded") + var ErrUnexportedField = errors.New("zapcodec: unexported field") + var ErrUnmarshalNil = errors.New("zapcodec: can't unmarshal into nil") + var ErrUnmarshalZeroLength = errors.New("zapcodec: can't unmarshal zero length value") + var ErrUnsupportedType = errors.New("zapcodec: unsupported type") + type Codec interface + MarshalInto func(value interface{}, p *wrappers.Packer) error + RegisterType func(val interface{}) error + Size func(value interface{}) (int, error) + SkipRegistrations func(n int) + UnmarshalFrom func(p *wrappers.Packer, dest interface{}) error + func New(tagNames []string) Codec + func NewDefault() Codec + type GeneralCodec interface + type Registry interface + RegisterType func(val interface{}) error