Documentation ¶
Index ¶
- Constants
- type AssignHostelToUsersRequestBody
- type AssignMessToUsersRequestBody
- type BatchCreateHostelRoomsRequest
- type GenericResponse
- type HostelMessManageToUser
- type HostelStaffAllotmentWithUser
- type MealMini
- type PopulatedRoom
- type RoomAllotmentWithUser
- type UpdateMeal
- type UserFilter
- type UserMealForADay
Constants ¶
View Source
const ( ACTIVE string = "ACTIVE" CANCELLED string = "CANCELLED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericResponse ¶
type GenericResponse struct { Success bool `json:"success"` Message string `json:"message"` Details interface{} `json:"details"` Error interface{} `json:"error"` }
func GetGenericResponse ¶
func GetGenericResponse(success bool, message string, details interface{}, err error) GenericResponse
type HostelMessManageToUser ¶
type PopulatedRoom ¶
type RoomAllotmentWithUser ¶
type UpdateMeal ¶
type UserFilter ¶
type UserFilter struct { StartYear []int `json:"startYear" binding:"required"` EndYear []int `json:"endYear" binding:"required"` RollNo []int `json:"rollNo" binding:"required"` Department []constants.Department `json:"department" binding:"required"` Course []constants.Course `json:"course" binding:"required"` }
type UserMealForADay ¶
Click to show internal directories.
Click to hide internal directories.