model

package
v1.12.7 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 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 Flag

type Flag bool

type SubTask

type SubTask struct {
	ID              string `firestore:"-" firestore_key:"auto"`
	IsSubCollection bool   ``
}

type Task

type Task struct {
	Identity     string                 `firestore:"-" firestore_key:""`
	Desc         string                 `firestore:"description" unique:""`
	Desc2        string                 `firestore:"desc2"`
	Created      time.Time              `firestore:"created"`
	ReservedDate *time.Time             `firestore:"reservedDate"`
	Done         bool                   `firestore:"done"`
	Done2        bool                   `firestore:"done2"`
	Count        int                    `firestore:"count"`
	Count64      int64                  `firestore:"count64"`
	NameList     []string               `firestore:"nameList"`
	Proportion   float64                `firestore:"proportion"`
	Geo          *latlng.LatLng         `firestore:"geo"`
	Sub          *firestore.DocumentRef `firestore:"sub"`
	Flag         Flag                   `firestore:"flag"`
}

Task ID自動生成なし

Jump to

Keyboard shortcuts

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