types

package
v0.0.0-...-e2d1978 Latest Latest
Warning

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

Go to latest
Published: May 17, 2019 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 Grid

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

Grid -

func NewGrid

func NewGrid(w, h int, initialValue interface{}) *Grid

NewGrid -

func (*Grid) Data

func (o *Grid) Data() [][]interface{}

Data -

func (*Grid) Get

func (o *Grid) Get(x, y int) interface{}

Get -

func (*Grid) Set

func (o *Grid) Set(x, y int, val interface{})

Set -

func (*Grid) Size

func (o *Grid) Size() (int, int)

Size -

Jump to

Keyboard shortcuts

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