Documentation ¶
Index ¶
- func CreateBook(book books.Book) (*books.Book, *errors.ApiErr)
- func CreateUser(user users.User) (*users.User, *errors.ApiErr)
- func DeleteBook(bookID uint) *errors.ApiErr
- func GetBook(bookID uint) (*books.Book, *errors.ApiErr)
- func UpdateBook(isPartial bool, book books.Book) (*books.Book, *errors.ApiErr)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBook ¶
CreateBook - Service
func CreateUser ¶
CreateUser - Service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.