vecty: github.com/gopherjs/vecty/example/todomvc/store/model Index | Files

package model

import "github.com/gopherjs/vecty/example/todomvc/store/model"

Index

Package Files

model.go

type FilterState Uses

type FilterState int

FilterState represents a viewing filter for TODO items in the store.

const (
    // All is a FilterState which shows all items.
    All FilterState = iota

    // Active is a FilterState which shows only non-completed items.
    Active

    // Completed is a FilterState which shows only completed items.
    Completed
)

type Item Uses

type Item struct {
    Title     string
    Completed bool
}

Item represents a single TODO item in the store.

Package model is imported by 4 packages. Updated 2017-09-05. Refresh now. Tools for package owners.