testpkg

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Str                                           = "something"
	MapKey          map[interface{}]string        = make(map[interface{}]string)
	MapValue        map[string]interface{}        = make(map[string]interface{})
	Array           []interface{}                 = make([]interface{}, 0)
	Channel         chan interface{}              = make(chan interface{})
	ROChannel       <-chan interface{}            = make(chan interface{})
	SOChannel       chan<- interface{}            = make(chan interface{})
	Var             interface{}                   = Str
	AnonymousStruct struct{ Field interface{} }   = struct{ Field interface{} }{"value"}
	AnonymousFn     func(interface{}) interface{} = func(param interface{}) interface{} { return param }
)

Functions

func Fn

func Fn(param interface{}) interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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