Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationController ¶
type ApplicationController struct {
// contains filtered or unexported fields
}
ApplicationController to handle API related with application itself
func NewApplicationController ¶
func NewApplicationController(conn *sql.DB) ApplicationController
NewApplicationController return new instance of ApplicationController
type BookController ¶
type BookController interface {
Create(c echo.Context) error
Get(c echo.Context) error
List(c echo.Context) error
Update(c echo.Context) error
Delete(c echo.Context) error
}
BookController handle input related to Book
func NewBookController ¶
func NewBookController(bookRepository repository.BookRepository) BookController
NewBookController return new instance of book controller
Click to show internal directories.
Click to hide internal directories.