task

package
v0.0.0-...-29afe04 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 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 Flag

type Flag bool

type Name

type Name struct {
	ID      int64     `datastore:"-" datastore_key:""` // supported type: string, int64, *datastore.Key
	Created time.Time `datastore:"created"`
	// supported indexer tags word: e/equal(Default), l/like, p/prefix,
	// TODO s/suffix
	Desc      string   `datastore:"description" indexer:"l"`
	Desc2     string   `datastore:"description2" indexer:"p"`
	Done      bool     `datastore:"done"`
	Count     int      `datastore:"count"`
	PriceList []int    `datastore:"priceList"`
	Indexes   []string `datastore:"indexes"`
}

Name 拡張インデックスあり

type Task

type Task struct {
	ID         int64     `datastore:"-" datastore_key:""` // supported type: string, int64, *datastore.Key
	Desc       string    `datastore:"description"`
	Created    time.Time `datastore:"created"`
	Done       bool      `datastore:"done"`
	Done2      bool      `datastore:"done2"`
	Count      int       `datastore:"count"`
	Count64    int64     `datastore:"count64"`
	NameList   []string  `datastore:"nameList"`
	Proportion float64   `datastore:"proportion"`
	Flag       Flag      `datastore:"flag"` // NG
}

Task 拡張インデックスなし

Jump to

Keyboard shortcuts

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