Help us shape the future of Go! Take the 2026 Go Developer Survey

runtime

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2017 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deferred

func Deferred() interface{}

Deferred fn TODO: cleanup

Types

type Chan

type Chan struct {
	// contains filtered or unexported fields
}

Chan struct

func Channel

func Channel(capacity int) *Chan

Channel function

func (*Chan) Recv

func (c *Chan) Recv() interface{}

Recv a value

func (*Chan) Send

func (c *Chan) Send(value interface{}) interface{}

Send on the channel

type Mapper

type Mapper interface {
	Set(key string, value interface{}) Mapper
	JSON() map[string]interface{}
}

Mapper interface

func Map

func Map() Mapper

Map creates a new map

Jump to

Keyboard shortcuts

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