From fc517c2c69d96501f1adc5a021b39b9eff22e4d7 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Wed, 20 Nov 2024 13:32:32 +0300 Subject: Chore: tools to their own file [wip] --- models/db.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'models/db.go') 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"` +} -- cgit v1.2.3