Documentation
¶
Index ¶
- Variables
- func Query(db *datastore.Datastore) datastore.Query
- type Status
- type Watchlist
- func (w *Watchlist) Defaults()
- func (c Watchlist) Description() string
- func (c Watchlist) DisplayCreatedAt() string
- func (c Watchlist) DisplayId() string
- func (w *Watchlist) Init(db *datastore.Datastore)
- func (c Watchlist) IntId() int
- func (w Watchlist) Kind() string
- func (c *Watchlist) Load(ps []datastore.Property) (err error)
- func (w Watchlist) MoviesJSON() string
- func (w *Watchlist) RemoveItem(id string) (err error)
- func (w *Watchlist) Save() (ps []datastore.Property, err error)
- func (w *Watchlist) SetItem(db *datastore.Datastore, id string) (err error)
- func (c *Watchlist) Validator() *val.Validator
Constants ¶
This section is empty.
Variables ¶
View Source
var IgnoreFieldMismatch = datastore.IgnoreFieldMismatch
Functions ¶
Types ¶
type Watchlist ¶
type Watchlist struct {
mixin.Model
// Associated user .
UserId string `json:"userId,omitempty"`
// Email of the user or someone else if no user id exists
Email string `json:"email,omitempty"`
// Individual line items
Movies []movie.Movie `json:"movies" datastore:"-"`
Movies_ string `json:"-" datastore:",noindex"`
// Arbitrary key/value pairs associated with this order
Metadata Map `json:"metadata" datastore:"-"`
Metadata_ string `json:"-" datastore:",noindex"`
}
func (Watchlist) Description ¶
func (Watchlist) DisplayCreatedAt ¶
func (Watchlist) MoviesJSON ¶
func (*Watchlist) RemoveItem ¶
Click to show internal directories.
Click to hide internal directories.