models

package
v0.0.0-...-def7a57 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deck

type Deck struct {
	*js.Object           // this is needed for bidirectional data bindings
	Name       string    `js:"name"`
	Periods    []*Period `js:"periods"`
}

func MockDeck

func MockDeck() *Deck

func NewDeck

func NewDeck() *Deck

type Event

type Event struct {
	*js.Object          // this is needed for bidirectional data bindings
	Title      string   `js:"title"`
	Scenes     []*Scene `js:"scenes"`
}

func NewEvent

func NewEvent() *Event

type Period

type Period struct {
	*js.Object          // this is needed for bidirectional data bindings
	Title      string   `js:"title"`
	Events     []*Event `js:"events"`
}

func NewPeriod

func NewPeriod() *Period

type Scene

type Scene struct {
	*js.Object        // this is needed for bidirectional data bindings
	Question   string `js:"question"`
	Setting    string `js:"setting"`
	Answer     string `js:"answer"`
}

func NewScene

func NewScene() *Scene

Jump to

Keyboard shortcuts

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