models

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2017 License: BSD-3-Clause Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Art

type Art struct {
	Artist          string  "artist,omitempty"
	FullsizeImage   *string "fullsizeImage"
	MediumsizeImage string  "mediumsizeImage"
	ThumbnailImage  string  "thumbnailImage"
}

type Card

type Card struct {
	ID            bson.ObjectId     "_id,omitempty"
	Categories    []string          "categories"
	Faction       string            "faction"
	Flavor        map[string]string "flavor,omitempty"
	Info          map[string]string "info,omitempty"
	Strength      *int              "strength"
	Name          map[string]string "name"
	Positions     []string          "positions"
	Faction_id    bson.ObjectId     "faction_id,omitempty"
	Group         string            "group"
	Group_id      bson.ObjectId     "group_id,omitempty"
	Categories_id []bson.ObjectId   "categories_id,omitempty"
	UUID          []byte            "uuid"
	Last_Modified time.Time         "last_modified"
}

type Category

type Category struct {
	ID            bson.ObjectId "_id,omitempty"
	Name          string
	UUID          []byte
	Last_Modified time.Time "last_modified"
}

type Cost

type Cost struct {
	Normal  int
	Premium int
}

type Faction

type Faction struct {
	ID            bson.ObjectId "_id,omitempty"
	Name          string
	UUID          []byte
	Last_Modified time.Time "last_modified"
}

type Group

type Group struct {
	ID            bson.ObjectId "_id,omitempty"
	Name          string
	UUID          []byte
	Last_Modified time.Time "last_modified"
}

type Rarity

type Rarity struct {
	ID            bson.ObjectId "_id,omitempty"
	Name          string
	UUID          []byte
	Last_Modified time.Time "last_modified"
}

type Variation

type Variation struct {
	ID            bson.ObjectId "_id,omitempty"
	Card_id       bson.ObjectId "card_id,omitempty"
	Rarity_id     bson.ObjectId "rarity_id,omitempty"
	UUID          []byte
	Availability  string
	Rarity        string
	Craft         Cost      "craft,omitempty"
	Mill          Cost      "mill,omitempty"
	Art           Art       "art,omitempty"
	Last_Modified time.Time "last_modified"
}

Jump to

Keyboard shortcuts

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