Versions in this module Expand all Collapse all v1 v1.0.0 Sep 9, 2022 v1.0.0-alpha Sep 6, 2022 v0 v0.1.3 Sep 30, 2022 v0.1.2 Sep 22, 2022 v0.1.1 Sep 21, 2022 v0.1.0 Sep 9, 2022 Changes in this version + func Register(r *gin.Engine) error + type DemoApi struct + func NewDemoApi() *DemoApi + func (api *DemoApi) Demo(c *gin.Context) + func (api *DemoApi) Demo2(c *gin.Context) + func (api *DemoApi) DemoCache(c *gin.Context) + func (api *DemoApi) DemoOrm(c *gin.Context) + func (api *DemoApi) DemoPost(c *gin.Context) + type Repository struct + func NewRepository() *Repository + func (r *Repository) GetUserByIds([]int) []UserModel + func (r *Repository) GetUserIds() []int + type Service struct + func NewService() *Service + func (s *Service) GetUsers() []UserModel + type User struct + ActivatedAt sql.NullTime + Age uint8 + Birthday *time.Time + CreatedAt time.Time + Email *string + ID uint + MemberNumber sql.NullString + Name string + UpdatedAt time.Time + type UserDTO struct + ID int + Name string + func StudentsToUserDTOs(students []demoService.Student) []UserDTO + func UserModelsToUserDTOs(models []User) []UserDTO + type UserModel struct + Age int + Name string + UserId int v0.0.3-alpha Aug 25, 2022 v0.0.2-alpha Aug 23, 2022 v0.0.1-alpha Dec 24, 2021