objects

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL