multipletypes

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 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 InterfaceIntMap

type InterfaceIntMap map[interface{}]int

func (InterfaceIntMap) Get

func (m InterfaceIntMap) Get(key interface{}) int

func (InterfaceIntMap) Has

func (m InterfaceIntMap) Has(key interface{}) bool

func (InterfaceIntMap) Set

func (m InterfaceIntMap) Set(key interface{}, value int) InterfaceIntMap

type KeyType

type KeyType generic.Type

type KeyTypeValueTypeMap

type KeyTypeValueTypeMap map[KeyType]ValueType

func (KeyTypeValueTypeMap) Get

func (KeyTypeValueTypeMap) Has

func (m KeyTypeValueTypeMap) Has(key KeyType) bool

func (KeyTypeValueTypeMap) Set

type MyOtherType

type MyOtherType struct{}

type MyType1

type MyType1 struct{}

type MyType1MyOtherTypeMap

type MyType1MyOtherTypeMap map[*MyType1]*MyOtherType

func (MyType1MyOtherTypeMap) Get

func (MyType1MyOtherTypeMap) Has

func (m MyType1MyOtherTypeMap) Has(key *MyType1) bool

func (MyType1MyOtherTypeMap) Set

type StringIntMap

type StringIntMap map[string]int

func (StringIntMap) Get

func (m StringIntMap) Get(key string) int

func (StringIntMap) Has

func (m StringIntMap) Has(key string) bool

func (StringIntMap) Set

func (m StringIntMap) Set(key string, value int) StringIntMap

type ValueType

type ValueType generic.Type

Jump to

Keyboard shortcuts

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