Documentation
¶
Overview ¶
Package marshaller provides functionality for marshaling and unmarshaling resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marshaller ¶
type Marshaller[T any] interface { // Marshal serializes the model into a string representation. Marshal(model T) (string, error) // Unmarshal deserializes the model from a byte representation. Unmarshal(data []byte, model *T) error // UnmarshalString deserializes the model from a string representation. UnmarshalString(data string, model *T) error }
Marshaller is an interface for a resource marshaller.
Click to show internal directories.
Click to hide internal directories.