models

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: May 30, 2017 License: BSD-3-Clause Imports: 1 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 {
	FullsizeImage  *string "fullsizeImage"
	ThumbnailImage string  "thumbnailImage"
}

type Card

type Card struct {
	ID            bson.ObjectId   "_id,omitempty"
	Categories    []string        "categories"
	Faction       string          "faction"
	Flavor        *string         "flavor"
	Info          *string         "info"
	Strength      *int            "strength"
	Name          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"
}

type Category

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

type Cost

type Cost struct {
	Normal  int
	Premium int
}

type Faction

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

type Group

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

type Rarity

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

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"
}

Jump to

Keyboard shortcuts

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