Documentation ¶ Index ¶ type Board func NewBoard(size int, e chan<- common.Event, opt Opt) *Board func (b *Board) Click(x, y int) func() func (b *Board) Len() int func (b *Board) String() string func (b *Board) Value(x, y int) string func (b *Board) Winner() (string, bool) type Opt Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Board ¶ type Board struct { // contains filtered or unexported fields } func NewBoard ¶ func NewBoard(size int, e chan<- common.Event, opt Opt) *Board func (*Board) Click ¶ func (b *Board) Click(x, y int) func() func (*Board) Len ¶ func (b *Board) Len() int func (*Board) String ¶ func (b *Board) String() string func (*Board) Value ¶ func (b *Board) Value(x, y int) string func (*Board) Winner ¶ func (b *Board) Winner() (string, bool) type Opt ¶ type Opt struct { Debug bool } Source Files ¶ View all Source files model.go Click to show internal directories. Click to hide internal directories.