(m Module)
| 23 | } |
| 24 | |
| 25 | func (s Student) IsModuleAvailable(m Module) bool { |
| 26 | for _, id := range s.AvailableModules { |
| 27 | if m.ID == id { |
| 28 | return true |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | return false |
| 33 | } |
| 34 | |
| 35 | type Verification struct { |
| 36 | Code string `json:"code" bson:"code"` |
no outgoing calls
no test coverage detected