Documentation ¶ Index ¶ type Objects func O[T any](name string) *Objects[T] func (o *Objects[T]) Delete(k string) func (o *Objects[T]) Get(k string, def ...T) (res T) func (o *Objects[T]) Range(f func(k string, v T) bool) func (o *Objects[T]) Set(k string, v T) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Objects ¶ type Objects[T any] struct { // contains filtered or unexported fields } func O ¶ func O[T any](name string) *Objects[T] func (*Objects[T]) Delete ¶ func (o *Objects[T]) Delete(k string) func (*Objects[T]) Get ¶ func (o *Objects[T]) Get(k string, def ...T) (res T) func (*Objects[T]) Range ¶ func (o *Objects[T]) Range(f func(k string, v T) bool) func (*Objects[T]) Set ¶ func (o *Objects[T]) Set(k string, v T) Source Files ¶ View all Source files objects.go Click to show internal directories. Click to hide internal directories.