Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Street string `json:"street" bson:"street,omitempty"` Number string `json:"number" bson:"number,omitempty"` Country string `json:"country" bson:"country,omitempty"` City string `json:"city" bson:"city,omitempty"` PostCode string `json:"postcode" bson:"postcode,omitempty"` ID string `json:"id" bson:"-"` Links Links `json:"_links"` }
type Card ¶
type Href ¶
type Href struct {
// contains filtered or unexported fields
}
type Links ¶
type User ¶
type User struct { FirstName string `json:"firstName" bson:"firstName"` LastName string `json:"lastName" bson:"lastName"` Email string `json:"-" bson:"email"` Username string `json:"username" bson:"username"` Password string `json:"-" bson:"password,omitempty"` Addresses []Address `json:"-,omitempty" bson:"-"` Cards []Card `json:"-,omitempty" bson:"-"` UserID string `json:"id" bson:"-"` Links Links `json:"_links"` Salt string `json:"-" bson:"salt"` }
Source Files
¶
- addresses.go
- cards.go
- links.go
- users.go
Click to show internal directories.
Click to hide internal directories.