main
bel 2024-04-15 21:25:13 -06:00
parent dd98aedb5d
commit 44db0c6939
4 changed files with 33 additions and 0 deletions

4
model/event.go Normal file
View File

@ -0,0 +1,4 @@
package model
type Event struct {
}

1
model/message.go Normal file
View File

@ -0,0 +1 @@
package model

27
model/model.go Normal file
View File

@ -0,0 +1,27 @@
package model
var _ = `
erDiagram
%% thread event eventName
EVENT ||--|{ THREAD: "spawns"
THREAD ||--|{ MESSAGE: "populated by"
MESSAGE {
ID str
URL str
TS number
Plaintext str
}
THREAD {
ID str
URL str
Channel str
}
EVENT {
ID str
Name str
Asset str
Resolved bool
Datacenter str
}
`

1
model/thread.go Normal file
View File

@ -0,0 +1 @@
package model