Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DemoApi ¶
type DemoApi struct {
// contains filtered or unexported fields
}
func NewDemoApi ¶
func NewDemoApi() *DemoApi
type Repository ¶
type Repository struct { }
func NewRepository ¶
func NewRepository() *Repository
func (*Repository) GetUserByIds ¶
func (r *Repository) GetUserByIds([]int) []UserModel
func (*Repository) GetUserIds ¶
func (r *Repository) GetUserIds() []int
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService() *Service
type UserDTO ¶
func StudentsToUserDTOs ¶
func StudentsToUserDTOs(students []demoService.Student) []UserDTO
func UserModelsToUserDTOs ¶
Click to show internal directories.
Click to hide internal directories.