Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { StreetAddress string `json:"streetAddress,omitempty"` StreetAddress2 string `json:"streetAddress2,omitempty"` City string `json:"city,omitempty"` State string `json:"state,omitempty"` ZipCode string `json:"zipCode,omitempty"` Country string `json:"country,omitempty"` }
Address - address dao
type Book ¶
type Book struct { BookID int `json:"bookID,omitempty"` BookName string `json:"bookName,omitempty"` Author string `json:"author,omitempty"` }
Book - book dao
type Student ¶
type Student struct { StudentID int `json:"studentID,omitempty"` Name string `json:"name,omitempty"` Age int `json:"age,omitempty"` Address *Address `json:"address,omitempty"` }
Student - student dao
type StudentBook ¶
type StudentBook struct { Student *Student `json:"student,omitempty"` Books *[]Book `json:"books,omitempty"` }
StudentBook - student dao
Click to show internal directories.
Click to hide internal directories.