services

package
v0.0.0-...-28f78e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBook

func CreateBook(book books.Book) (*books.Book, *errors.ApiErr)

CreateBook - Service

func CreateUser

func CreateUser(user users.User) (*users.User, *errors.ApiErr)

CreateUser - Service

func DeleteBook

func DeleteBook(bookID uint) *errors.ApiErr

DeleteBook - Service

func GetBook

func GetBook(bookID uint) (*books.Book, *errors.ApiErr)

func UpdateBook

func UpdateBook(isPartial bool, book books.Book) (*books.Book, *errors.ApiErr)

UpdateBook - Service

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL