Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- type Query struct {
- AdvRollNo string `json:"advrollno"`
- DoB string `json:"dob"`
- }
- type Marks struct {
- Physics_1 float32 `json:"physics1" bson:"physics1"`
- Physics_2 float32 `json:"physics2" bson:"physics2"`
- Chemistry_1 float32 `json:"chemistry1" bson:"chemistry1"`
- Chemistry_2 float32 `json:"chemistry2" bson:"chemistry2"`
- Maths_1 float32 `json:"maths1" bson:"maths1"`
- Maths_2 float32 `json:"maths2" bson:"maths2"`
- }
- type CategoryRank struct {
- GEN_EWS int `json:",omitempty"`
- OBC_NCL int `json:",omitempty"`
- SC int `json:",omitempty"`
- ST int `json:",omitempty"`
- CRL_PWD int `json:",omitempty"`
- GEN_EWS_PWD int `json:",omitempty"`
- OBC_NCL_PWD int `json:",omitempty"`
- SC_PWD int `json:",omitempty"`
- ST_PWD int `json:",omitempty"`
- PREP_CRL_PWD int `json:",omitempty"`
- PREP_GEN_EWS_PWD int `json:",omitempty"`
- PREP_OBC_NCL_PWD int `json:",omitempty"`
- PREP_SC int `json:",omitempty"`
- PREP_SC_PWD int `json:",omitempty"`
- PREP_ST int `json:",omitempty"`
- PREP_ST_PWD int `json:",omitempty"`
- }
- type Rank struct {
- CRL int `json:"CRL" bson:"CRL"`
- Other CategoryRank `json:"other" bson:"other"`
- }
- type Credentials struct {
- Name string `json:"name" bson:"name"`
- DoB string `json:"dob" bson:"dob"`
- AdvRollNo string `json:"advrollno" bson:"advrollno"`
- }
- type Response struct {
- Marks Marks `json:"marks" bson:"marks"`
- Rank Rank `json:"rank" bson:"rank"`
- Credentials Credentials `json:"credentials" bson:"credentials"`
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement