Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { // author Author string `json:"Author,omitempty"` // ID ID int32 `json:"ID,omitempty"` // num pages NumPages int32 `json:"NumPages,omitempty"` // pages Pages []*Page `json:"Pages"` // publisher Publisher string `json:"Publisher,omitempty"` // shelves ID ShelvesID int32 `json:"ShelvesID,omitempty"` }
Book book swagger:model Book
func (*Book) MarshalBinary ¶
MarshalBinary interface implementation
func (*Book) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Fail ¶
type Fail struct { // code Code int32 `json:"Code,omitempty"` // message Message string `json:"Message,omitempty"` }
Fail fail swagger:model Fail
func (*Fail) MarshalBinary ¶
MarshalBinary interface implementation
func (*Fail) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Page ¶
type Page struct { // books ID BooksID int32 `json:"BooksID,omitempty"` // ID ID int32 `json:"ID,omitempty"` // number Number int32 `json:"Number,omitempty"` // text Text string `json:"Text,omitempty"` }
Page page swagger:model Page
func (*Page) MarshalBinary ¶
MarshalBinary interface implementation
func (*Page) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Shelf ¶
type Shelf struct { // books Books []*Book `json:"Books"` // ID ID int32 `json:"ID,omitempty"` // name shelfs NameShelfs string `json:"NameShelfs,omitempty"` // number Number int32 `json:"Number,omitempty"` }
Shelf shelf swagger:model Shelf
func (*Shelf) MarshalBinary ¶
MarshalBinary interface implementation
func (*Shelf) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.