todo
This commit is contained in:
4
model/event.go
Normal file
4
model/event.go
Normal file
@@ -0,0 +1,4 @@
|
||||
package model
|
||||
|
||||
type Event struct {
|
||||
}
|
||||
1
model/message.go
Normal file
1
model/message.go
Normal file
@@ -0,0 +1 @@
|
||||
package model
|
||||
27
model/model.go
Normal file
27
model/model.go
Normal 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
1
model/thread.go
Normal file
@@ -0,0 +1 @@
|
||||
package model
|
||||
Reference in New Issue
Block a user