model

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lock

type Lock struct {
	ID   string             `firestore:"-" firestore_key:"auto"`
	Text string             `firestore:"text"`
	Flag map[string]float64 `firestore:"flag"`
	Meta
}

Lock ID自動生成あり

type LockMeta

type LockMeta struct {
	ID   string             `firestore:"-" firestore_key:"auto"`
	Text string             `firestore:"text"`
	Flag map[string]float64 `firestore:"flag"`
	Meta
}

LockMeta ID自動生成あり

type LockMeta2

type LockMeta2 struct {
	ID   string             `firestore:"-" firestore_key:"auto"`
	Text string             `firestore:"text"`
	Flag map[string]float64 `firestore:"flag"`
	meta.AAAMeta
}

LockMeta2 ID自動生成あり

type Meta

type Meta struct {
	CreatedAt time.Time  `firestore:"createdAt"`
	CreatedBy string     `firestore:"createdBy"`
	UpdatedAt time.Time  `firestore:"updatedAt"`
	UpdatedBy string     `firestore:"updatedBy"`
	DeletedAt *time.Time `firestore:"deletedAt"`
	DeletedBy string     `firestore:"deletedBy"`
	Version   int        `firestore:"version"`
}

type Task

type Task struct {
	ID         string             `firestore:"-" firestore_key:"auto"`
	Desc       string             `firestore:"description" indexer:"e,p,s,l"`
	Created    time.Time          `firestore:"created"`
	Done       bool               `firestore:"done"`
	Done2      bool               `firestore:"done2"`
	Count      int                `firestore:"count"`
	Count64    int64              `firestore:"count64"`
	NameList   []string           `firestore:"nameList"`
	Proportion float64            `firestore:"proportion" indexer:"e"`
	Flag       map[string]float64 `firestore:"flag"`
	Indexes    map[string]bool    `firestore:"indexes"`
}

Task ID自動生成あり

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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