package
0.0.0-20241222093054-3ae8ef813aee
Repository: https://github.com/basecomplextech/spec.git
Documentation: pkg.go.dev

# Functions

Acquire acquires a writer from the pool.
New returns a new writer with a new empty buffer.
NewBuffer returns a new writer with the given buffer.
WriteElement writes a generic element using the given write function.
WriteField writes a generic field using the given write function.
WriteValue writes a generic value using the given write function.

# Structs

FieldWriter writes a message field.
ListWriter writes a list of elements.
MessageWriter writes a message.
ValueWriter writes spec values.

# Interfaces

Writer writes spec objects.

# Type aliases

WriteFunc specifies a generic function to write a value directly into a buffer.