Documentation ¶
Index ¶
- type Normalizer
- func (n *Normalizer) AddData(data ...data.Datum)
- func (n *Normalizer) Data() []data.Datum
- func (n *Normalizer) Error() error
- func (n *Normalizer) HasError() bool
- func (n *Normalizer) HasMeta() bool
- func (n *Normalizer) HasSource() bool
- func (n *Normalizer) Meta() interface{}
- func (n *Normalizer) Normalize(normalizable data.Normalizable) error
- func (n *Normalizer) Origin() structure.Origin
- func (n *Normalizer) ReportError(err error)
- func (n *Normalizer) Source() structure.Source
- func (n *Normalizer) WithMeta(meta interface{}) data.Normalizer
- func (n *Normalizer) WithOrigin(origin structure.Origin) data.Normalizer
- func (n *Normalizer) WithReference(reference string) data.Normalizer
- func (n *Normalizer) WithSource(source structure.Source) data.Normalizer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Normalizer ¶ added in v1.24.0
type Normalizer struct {
// contains filtered or unexported fields
}
func New ¶ added in v1.24.0
func New() *Normalizer
func (*Normalizer) AddData ¶ added in v1.24.0
func (n *Normalizer) AddData(data ...data.Datum)
func (*Normalizer) Data ¶ added in v1.24.0
func (n *Normalizer) Data() []data.Datum
func (*Normalizer) Error ¶ added in v1.24.0
func (n *Normalizer) Error() error
func (*Normalizer) HasError ¶ added in v1.24.0
func (n *Normalizer) HasError() bool
func (*Normalizer) HasMeta ¶ added in v1.24.0
func (n *Normalizer) HasMeta() bool
func (*Normalizer) HasSource ¶ added in v1.24.0
func (n *Normalizer) HasSource() bool
func (*Normalizer) Meta ¶ added in v1.24.0
func (n *Normalizer) Meta() interface{}
func (*Normalizer) Normalize ¶ added in v1.24.0
func (n *Normalizer) Normalize(normalizable data.Normalizable) error
func (*Normalizer) Origin ¶ added in v1.24.0
func (n *Normalizer) Origin() structure.Origin
func (*Normalizer) ReportError ¶ added in v1.24.0
func (n *Normalizer) ReportError(err error)
func (*Normalizer) Source ¶ added in v1.24.0
func (n *Normalizer) Source() structure.Source
func (*Normalizer) WithMeta ¶ added in v1.24.0
func (n *Normalizer) WithMeta(meta interface{}) data.Normalizer
func (*Normalizer) WithOrigin ¶ added in v1.24.0
func (n *Normalizer) WithOrigin(origin structure.Origin) data.Normalizer
func (*Normalizer) WithReference ¶ added in v1.24.0
func (n *Normalizer) WithReference(reference string) data.Normalizer
func (*Normalizer) WithSource ¶ added in v1.24.0
func (n *Normalizer) WithSource(source structure.Source) data.Normalizer
Click to show internal directories.
Click to hide internal directories.