summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2024-11-20 13:32:32 +0300
committerGrail Finder <wohilas@gmail.com>2024-11-20 13:33:04 +0300
commitfc517c2c69d96501f1adc5a021b39b9eff22e4d7 (patch)
tree669bb1a364359bb8565b7fed7b1828593395958d /models
parent8ae4d075c4d043eae604af9cad0cf5e571420a61 (diff)
Chore: tools to their own file [wip]
Diffstat (limited to 'models')
-rw-r--r--models/db.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/db.go b/models/db.go
index afd4b46..e798cdc 100644
--- a/models/db.go
+++ b/models/db.go
@@ -20,3 +20,8 @@ func (c Chat) ToHistory() ([]MessagesStory, error) {
}
return resp, nil
}
+
+type Memory struct {
+ Topic string `db:"topic" json:"topic"`
+ Data string `db:"data" json:"data"`
+}