Add Database Functions
This commit is contained in:
parent
126070829c
commit
253b020733
22 changed files with 1076 additions and 119 deletions
|
@ -1,5 +1,7 @@
|
|||
package event
|
||||
|
||||
// TODO: Check if it can be deleted
|
||||
|
||||
type EDU struct {
|
||||
Type string `json:"type,omitempty"`
|
||||
Content string `json:"content,omitempty"`
|
||||
|
|
|
@ -5,6 +5,6 @@ type Event struct {
|
|||
RoomId string `json:"roomId,omitempty"`
|
||||
EventType string `json:"eventType,omitempty"`
|
||||
Content string `json:"content,omitempty"`
|
||||
Parent string `json:"parent,omitempty"`
|
||||
ParentId string `json:"parent,omitempty"`
|
||||
Depth int `json:"depth,omitempty"`
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
package event
|
||||
|
||||
func New() event *Event {
|
||||
|
||||
}
|
||||
func New() (event *Event) {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue