view

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelManager

type ModelManager interface {
	Value(int, int) string
	Winner() (string, bool)
	Click(int, int) func()
	Len() int
}

type View

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

func New

func New(m ModelManager, e <-chan common.Event) *View

func (*View) Run

func (v *View) Run()

Jump to

Keyboard shortcuts

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