Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApiCfg = apiConfig{}
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct { ID uuid.UUID `json:"id"` Name string `json:"name"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Description string `json:"description"` }
func AuthorToAuthor ¶
func AuthorsToAuthors ¶
type Book ¶
type Book struct { ID uuid.UUID `json:"id"` Name string `json:"name"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` PublishedAt time.Time `json:"published_at"` Isbn string `json:"isbn"` Description string `json:"description"` AuthorID uuid.UUID `json:"author_id"` }
func BookToBook ¶
func BooksToBooks ¶
Click to show internal directories.
Click to hide internal directories.