Documentation ¶
Index ¶
- Variables
- func BinId(x uuid.UUID) []byte
- func ChanMonitor(name string, ch interface{}, intvl time.Duration)
- func ChanMonitorEmpty(name string, ch interface{}, intvl time.Duration)
- func DbToUuid(f interface{}) (uuid.UUID, error)
- func GetFromAny[V any](val any, defaultValue V) V
- func GetFromAnyMap[K comparable, V any](amap map[K]any, key K, defaultValue V) V
- func LoadRow(rows *sql.Rows) (map[string]interface{}, error)
- func SpaceTypeFromMap(parametersMap map[string]interface{}) (uuid.UUID, error)
- type SyncMap
- type TAtomBool
- type Unique
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
func ChanMonitor ¶
func ChanMonitorEmpty ¶
func GetFromAny ¶ added in v0.1.13
func GetFromAnyMap ¶ added in v0.1.13
func GetFromAnyMap[K comparable, V any](amap map[K]any, key K, defaultValue V) V
Types ¶
type SyncMap ¶ added in v0.1.1
type SyncMap[K comparable, V any] struct { Mu deadlock.RWMutex Data map[K]V }
func NewSyncMap ¶ added in v0.1.1
func NewSyncMap[K comparable, V any]() *SyncMap[K, V]
Click to show internal directories.
Click to hide internal directories.