Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder generates the code
func (Builder) ConstantSize ¶
ConstantSize returns the amount of bytes data will always need to be marshaled, independent of actual content
func (Builder) Dependencies ¶
Dependencies returns the list of other types which code must be generated for
func (Builder) MarshalCodeTemplate ¶
MarshalCodeTemplate returns code template marshaling the data
func (Builder) SizeCodeTemplate ¶
SizeCodeTemplate returns code template computing the required size of buffer (above constant size) required to marshal the data
func (Builder) UnmarshalCodeTemplate ¶
UnmarshalCodeTemplate returns code template unmarshaling the data
Click to show internal directories.
Click to hide internal directories.