Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookInfoDAO ¶
type BookInfoDAO struct { // ISBN is the unique identifier of the book. ISBN string `bson:"isbn"` // Title is the title of the book. Title string `bson:"title"` // Author is the author of the book. Author string `bson:"author"` // Price is the price of the book. Price float64 `bson:"price"` // PublishDate is the date when the book was published. PublishDate primitive.DateTime `bson:"publishDate"` }
BookInfoDAO represents the struct of document type to be stored in mongoDB
Click to show internal directories.
Click to hide internal directories.