testhub/models/test.go

10 lines
119 B
Go

package models
type Test struct {
ID uint
Question *Question
Answers []*Answer
Correct *Answer
Type int
}