Add basic types

This commit is contained in:
2025-09-26 09:14:17 +02:00
parent f30f0de934
commit e94f9750e5

21
types.go Normal file
View File

@@ -0,0 +1,21 @@
package main
import "time"
type Event struct {
Seq int
Type string
Hash string
ItemID string
EventID string
Data map[string]interface{}
Timestamp time.Time
}
type SLItem struct {
ID string
Content string
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt time.Time
}