Reihenfolge innerhalb der structs so verändert, dass möglichst wenige Pointerbytes verwendet werden.
This commit is contained in:
@ -18,38 +18,38 @@ type DB struct {
|
||||
}
|
||||
|
||||
type Person struct {
|
||||
ID int64
|
||||
FirstName string
|
||||
LastName string
|
||||
ID int64
|
||||
}
|
||||
|
||||
type Instructor Person
|
||||
|
||||
type Participant struct {
|
||||
Person
|
||||
Company string
|
||||
Person
|
||||
}
|
||||
|
||||
type Briefing struct {
|
||||
ID int64
|
||||
DateTime string
|
||||
Location string
|
||||
Document string
|
||||
AsOf string
|
||||
InstructorID int64
|
||||
ID int64
|
||||
}
|
||||
|
||||
type Answer struct {
|
||||
ID int64
|
||||
Text string
|
||||
IsImage bool // TODO: relocate to sessionStructs if possible
|
||||
ID int64
|
||||
}
|
||||
|
||||
type Question struct {
|
||||
ID int64
|
||||
Text string
|
||||
Answers []Answer
|
||||
Correct int
|
||||
ID int64
|
||||
}
|
||||
|
||||
type GivenAnswer struct {
|
||||
|
Reference in New Issue
Block a user