Documentation
¶
Index ¶
- func GetAdapterName(m any) string
- type Adapter
- func (a *Adapter[M]) Belongs(am any) bool
- func (a *Adapter[M]) Decode(l *Location) (*M, bool)
- func (a *Adapter[M]) DecodeAny(l *Location) (any, bool)
- func (a *Adapter[M]) Encode(m *M) (*Location, error)
- func (a *Adapter[M]) EncodeAny(am any) (*Location, error)
- func (a *Adapter[M]) GetName() string
- func (a *Adapter[M]) GetRef(ma any) (*M, bool)
- type AnyAdapter
- type Capture
- type Location
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAdapterName ¶
Types ¶
type Adapter ¶
type Adapter[M any] struct { // contains filtered or unexported fields }
func NewAdapter ¶
type AnyAdapter ¶
Click to show internal directories.
Click to hide internal directories.