Versuch, eine übersichtlichere Struktur einzuführen

This commit is contained in:
2023-10-05 19:56:18 +02:00
parent 1bcfbfd325
commit 5749739761
4 changed files with 5 additions and 5 deletions

23
packages/types/types.go Normal file
View File

@ -0,0 +1,23 @@
package types
type Person struct {
FirstName string
LastName string
}
type Instructor Person
type Participant struct {
ID int64
Person
Company string
}
type Briefing struct {
Instructor
Date string
Time string
State string
Location string
Participants []Participant
}