Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListCollection ¶
type ListCollection[T any] []T
func (*ListCollection[T]) AsMapCollection ¶
func (l *ListCollection[T]) AsMapCollection(keyFunc func(T) string) MapCollection[string, T]
func (*ListCollection[T]) EqualTo ¶
func (l *ListCollection[T]) EqualTo(l2 ListCollection[T], equalityFunc func(x, y T) bool) bool
func (ListCollection[T]) Sort ¶
func (l ListCollection[T]) Sort(lessFunc func(x, y T) bool) ListCollection[T]
type MapCollection ¶
type MapCollection[K comparable, V any] map[K]V
func (*MapCollection[K, V]) AsListCollection ¶
func (m *MapCollection[K, V]) AsListCollection() ListCollection[V]
type Struct ¶
type Struct struct {
Name string
Package Package
Fields ListCollection[*StructField]
}
Click to show internal directories.
Click to hide internal directories.