Documentation
¶
Index ¶
- type Collection
- type Collections
- type EmptyReferences
- type ID
- type Log
- func (l *Log[T]) AllReferences() []Reference[T]
- func (l *Log[T]) ErroredReferences() []Reference[T]
- func (l *Log[T]) Filter(fn func(Reference[T]) bool) []Reference[T]
- func (l *Log[T]) ForEach(fn func(Reference[T]))
- func (l *Log[T]) Merge(others ...*Log[T]) *Log[T]
- func (l *Log[T]) OK() bool
- func (l *Log[T]) OKReferences() []Reference[T]
- func (l *Log[T]) Resolved() bool
- func (l *Log[T]) ResolvedReferences() []Reference[T]
- func (l *Log[T]) Set(r Reference[T])
- func (l *Log[T]) SetUsed(flag bool)
- func (l *Log[T]) UnresolvedReferences() []Reference[T]
- func (l *Log[T]) Used() bool
- func (l *Log[T]) UsedReferences() []Reference[T]
- type Reference
- type References
- type View
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collections ¶
type Collections []Collection
func (Collections) OK ¶
func (cs Collections) OK() bool
func (Collections) Resolved ¶
func (cs Collections) Resolved() bool
func (Collections) SetUsed ¶
func (cs Collections) SetUsed(flag bool)
func (Collections) Used ¶
func (cs Collections) Used() bool
type EmptyReferences ¶
type EmptyReferences struct{}
func (EmptyReferences) Merge ¶
func (er EmptyReferences) Merge(_ ...EmptyReferences) EmptyReferences
func (EmptyReferences) OK ¶
func (EmptyReferences) OK() bool
func (EmptyReferences) Resolved ¶
func (EmptyReferences) Resolved() bool
func (EmptyReferences) SetUsed ¶
func (EmptyReferences) SetUsed(flag bool)
func (EmptyReferences) Used ¶
func (EmptyReferences) Used() bool
type ID ¶
type ID[T any] interface { comparable Less(other T) bool }
type Log ¶
type Log[T ID[T]] struct { // contains filtered or unexported fields }
func InitialLog ¶
func (*Log[T]) AllReferences ¶
func (*Log[T]) ErroredReferences ¶
func (*Log[T]) OKReferences ¶
func (*Log[T]) ResolvedReferences ¶
func (*Log[T]) UnresolvedReferences ¶
func (*Log[T]) UsedReferences ¶
type References ¶
type References[T any] interface { Collection Merge(others ...T) T }
Click to show internal directories.
Click to hide internal directories.