Implement note parsing
This commit is contained in:
30
types.go
Normal file
30
types.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user