types

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map[K comparable, V any] map[K]V

func (Map[K, _]) Keys

func (m Map[K, _]) Keys() []K

Keys returns keys of the map

func (*Map[K, V]) Scan

func (m *Map[K, V]) Scan(src any) error

Scan implements the Scanner interface for Map. It scans the value into m.

func (Map[K, V]) Value

func (m Map[K, V]) Value() (driver.Value, error)

Value returns m as a json string value

func (Map[_, V]) Values

func (m Map[_, V]) Values() []V

Values returns values from the map

Jump to

Keyboard shortcuts

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