Documentation
¶
Index ¶
- func AddCard(cc *CardComplete)
- func AddColor()
- func AddSubtype()
- func AddSupertype()
- func AddType()
- func DeleteCard()
- func DeleteColor()
- func DeleteSubtype()
- func DeleteSupertype()
- func DeleteType()
- type Card
- type CardColor
- type CardComplete
- type CardSubtype
- type CardSupertype
- type CardType
- type Color
- type Subtype
- type Supertype
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteSupertype ¶
func DeleteSupertype()
DeleteSupertype deletes a supertype from the supertype table
Types ¶
type Card ¶
type Card struct {
ID int64 `json:"rowid"`
Name string `json:"name"`
Amount int `json:"amount"`
Comment string `json:"comment"`
}
Card is the card table
type CardComplete ¶
type CardComplete struct {
Name string
Amount int
Comment string
Colors []int
Types []int
Subtypes []int
Supertypes []int
}
CardComplete is a complete card
type CardSubtype ¶
CardSubtype is the card_subtype table
type CardSupertype ¶
CardSupertype is the card_supertype table
Click to show internal directories.
Click to hide internal directories.