objectmap

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotImplemented = errors.New("Browser not implemented Mapy")
	ErrNotAMap        = errors.New("The given value must be a Map")
)

Functions

func GetInterface

func GetInterface() js.Value

GetInterface get teh JS interface of broadcast channel

Types

type ObjectMap

type ObjectMap struct {
	baseobject.BaseObject
}

ObjectMap

func New

func New(values ...interface{}) (ObjectMap, error)

func NewFromGo

func NewFromGo(values map[string]interface{}) (ObjectMap, error)

func NewFromJSObject

func NewFromJSObject(obj js.Value) (ObjectMap, error)

func New_

func New_(values ...interface{}) ObjectMap

func (ObjectMap) Clear

func (o ObjectMap) Clear() error

func (ObjectMap) Delete

func (o ObjectMap) Delete(b baseobject.BaseObject) (bool, error)

func (ObjectMap) Entries

func (o ObjectMap) Entries() (iterator.Iterator, error)

func (ObjectMap) ForEach

func (o ObjectMap) ForEach(f func(ObjectMap, interface{}, interface{})) error

func (ObjectMap) Get

func (o ObjectMap) Get(b baseobject.BaseObject) (interface{}, error)

func (ObjectMap) Has

func (ObjectMap) Keys

func (o ObjectMap) Keys() (iterator.Iterator, error)

func (ObjectMap) ObjectMap

func (o ObjectMap) ObjectMap() ObjectMap

func (ObjectMap) Set

func (ObjectMap) Values

func (o ObjectMap) Values() (iterator.Iterator, error)

type ObjectMapFrom

type ObjectMapFrom interface {
	ObjectMap() ObjectMap
}

Jump to

Keyboard shortcuts

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