Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
ID uint `json:"id"`
Username string `json:"username"`
Email string `json:"email"`
Firstname string `json:"firstname"`
Lastname string `json:"lastname"`
Role string `json:"role"`
Status string `json:"status"`
Created_at time.Time `json:"created_at"`
Updated_at time.Time `json:"updated_at"`
}
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
type Inventories ¶
type Inventories []Inventory
type Inventory ¶
type Inventory struct {
ID uint `json:"id"`
User_id uint `json:"user_id"`
Item_name string `json:"item_name"`
Category string `json:"category"`
Description string `json:"description"`
Weight int `json:"weight"`
Weight_unit string `json:"weight_unit"`
Url string `json:"url"`
Price int `json:"price"`
Currency string `json:"currency"`
Created_at time.Time `json:"created_at"`
Updated_at time.Time `json:"updated_at"`
}
type LighterPack ¶
type LighterPack []LighterPackItem
type LighterPackItem ¶
type LighterPackItem struct {
Item_name string `json:"item_name"`
Category string `json:"category"`
Desc string `json:"desc"`
Qty int `json:"qty"`
Weight int `json:"weight"`
Unit string `json:"unit"`
Url string `json:"url"`
Price int `json:"price"`
Worn bool `json:"worn"`
Consumable bool `json:"consumable"`
}
type LoginInput ¶
type PackContent ¶
type PackContentWithItem ¶
type PackContentWithItem struct {
Pack_content_id uint `json:"pack_content_id"`
Pack_id uint `json:"pack_id"`
Inventory_id uint `json:"inventory_id"`
Item_name string `json:"item_name"`
Category string `json:"category"`
Item_description string `json:"item_description"`
Weight int `json:"weight"`
Weight_unit string `json:"weight_unit"`
Item_url string `json:"item_url"`
Price int `json:"price"`
Currency string `json:"currency"`
Quantity int `json:"quantity"`
Worn bool `json:"worn"`
Consumable bool `json:"consumable"`
}
type PackContentWithItems ¶
type PackContentWithItems []PackContentWithItem
type PackContents ¶
type PackContents []PackContent
type RegisterInput ¶
type User ¶
type User struct {
ID uint `json:"id"`
Username string `json:"username"`
Email string `json:"email"`
Firstname string `json:"firstname"`
Lastname string `json:"lastname"`
Role string `json:"role"`
Status string `json:"status"`
Password string `json:"password"`
LastPassword string `json:"last_password"`
Created_at time.Time `json:"created_at"`
Updated_at time.Time `json:"updated_at"`
}
Click to show internal directories.
Click to hide internal directories.