diff options
author | Grail Finder <wohilas@gmail.com> | 2024-11-20 13:32:32 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2024-11-20 13:33:04 +0300 |
commit | fc517c2c69d96501f1adc5a021b39b9eff22e4d7 (patch) | |
tree | 669bb1a364359bb8565b7fed7b1828593395958d /models/db.go | |
parent | 8ae4d075c4d043eae604af9cad0cf5e571420a61 (diff) |
Chore: tools to their own file [wip]
Diffstat (limited to 'models/db.go')
-rw-r--r-- | models/db.go | 5 |
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"` +} |