Documentation ¶
Index ¶
- type Database
- func (c *Database) Close()
- func (c *Database) Delete(key *datastore.Key) error
- func (c *Database) DeleteMulti(key []*datastore.Key) error
- func (c *Database) Get(key *datastore.Key, entity interface{}) error
- func (c *Database) GetAll(query *datastore.Query, entities interface{}) ([]*datastore.Key, error)
- func (c *Database) Put(key *datastore.Key, entry interface{}) error
- type Log
- type Rank
- type Ranks
- type User
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
type Log ¶
type Log struct { Id string `datastore:"id" json:"id"` Date time.Time `datastore:"date" json:"date"` // キャンパス // 千住 or 鳩山 Campus string `datastore:"campus" json:"campus"` //ログ定期 // 詳しくはlogcation/webのソース参照: https://github.com/tdu-logcation/web/blob/0d9feacdd50c5edfc1c28ab5a4510a3370715173/%40types/log.ts#L9-L11 LogType string `datastore:"log_type" json:"log_type"` // ログのラベル Label string `datastore:"label" json:"label"` // ログデータ Code string `datastore:"code" json:"code"` }
Click to show internal directories.
Click to hide internal directories.