Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthorHandler ¶
func NewAuthorHandler(r *gin.RouterGroup, repo *AuthorRepository)
Types ¶
type AuthorRepository ¶
type AuthorRepository struct {
// contains filtered or unexported fields
}
func NewAuthorRepository ¶
func NewAuthorRepository(db *gorm.DB) *AuthorRepository
func (*AuthorRepository) Migration ¶
func (r *AuthorRepository) Migration()
Click to show internal directories.
Click to hide internal directories.