Versions in this module Expand all Collapse all v0 v0.12.0 May 12, 2024 Changes in this version + func Fmt(format string, a ...any) io.WriterTo + func P(v any) io.WriterTo + func StringWrapper(prefix, postfix string) func(io.WriterTo) io.WriterTo + type Bin struct + V encoding.BinaryMarshaler + func (b Bin) WriteTo(wr io.Writer) (int64, error) + type Data []byte + func (d Data) WriteTo(wr io.Writer) (res int64, err error) + type EncJSON struct + EscapeHTML bool + Indent string + Prefix string + V any + func (gj EncJSON) WriteTo(wr io.Writer) (int64, error) + type Error struct + Err error + Pos int64 + func (e Error) Error() string + type Gen func(wr io.Writer) (int64, error) + func (f Gen) WriteTo(wr io.Writer) (int64, error) + type Int int64 + func (i Int) WriteTo(wr io.Writer) (int64, error) + type JSON struct + V any + func (gj JSON) WriteTo(wr io.Writer) (int64, error) + type Message struct + Format string + Printer *message.Printer + Values []any + func Msg(pr *message.Printer, fmt string, values ...any) Message + func (c Message) WriteTo(wr io.Writer) (int64, error) + type Slice struct + S []io.WriterTo + Sep io.WriterTo + func (slc Slice) WriteTo(w io.Writer) (n int64, err error) + type Str string + func (s Str) WriteTo(wr io.Writer) (int64, error) + type Text struct + V encoding.TextMarshaler + func (b Text) WriteTo(wr io.Writer) (int64, error) + type Uint uint64 + func (i Uint) WriteTo(wr io.Writer) (int64, error) + type Wrap struct + Content io.WriterTo + Postfix []byte + Prefix []byte + func WrapString(prefix string, c io.WriterTo, postfix string) Wrap + func (e Wrap) WriteTo(wr io.Writer) (res int64, err error)