Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorI ¶
type AuthorI interface {
GetAuthor(id string) (models.Author, error)
GetAllAuthors(queryParam models.ApplicationQueryParamModel) ([]models.Author, error)
CreateAuthor(details models.Author) (string, error)
UpdateAuthor(details models.UpdateAuthor, id string) (int64, error)
DeleteAuthor(id string) (int64, error)
}
type BookCategoryI ¶
type BookCategoryI interface {
GetBookCategory(id string) (models.BookCategory, error)
GetAllBookCategories(queryParam models.ApplicationQueryParamModel) ([]models.BookCategory, error)
CreateBookCategory(details models.BookCategory) (string, error)
UpdateBookCategory(details *models.UpdateBookCategory, id string) (int64, error)
DeleteBookCategory(id string) (int64, error)
}
Click to show internal directories.
Click to hide internal directories.