Implement note parsing

This commit is contained in:
2024-10-27 17:18:43 +01:00
parent 9f0435057e
commit c31ab6a01d
6 changed files with 95 additions and 4 deletions

30
types.go Normal file
View File

@@ -0,0 +1,30 @@
package main
import "time"
type (
Guild struct {
ID int
Name string
}
Stinky struct {
ID int
Name string
Guild Guild
}
Note struct {
ID int
Content string
Timestamp time.Time
Stinky Stinky
}
)
type NoteData struct {
Player string
Date time.Time
Guild string
Note string
}