Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorController ¶
type AuthorController interface { GetAll(*gin.Context) GetOne(g *gin.Context) Create(g *gin.Context) Update(g *gin.Context) Delete(g *gin.Context) }
TODO : add new abstraction like service
type ToDoController ¶
type ToDoController interface { GetAll(*gin.Context) GetOne(g *gin.Context) Create(g *gin.Context) Update(g *gin.Context) Delete(g *gin.Context) }
TODO : add new abstraction like service
func NewAuthorController ¶
func NewAuthorController(db *gorm.DB) ToDoController
func NewToDoController ¶
func NewToDoController(db *gorm.DB) ToDoController
Click to show internal directories.
Click to hide internal directories.