diff options
| author | leshe4ka46 <alex9102naid1@ya.ru> | 2025-10-27 20:36:28 +0300 |
|---|---|---|
| committer | leshe4ka46 <alex9102naid1@ya.ru> | 2025-10-28 13:42:21 +0300 |
| commit | bb833561aa74f02970aee13cdc75973b29716491 (patch) | |
| tree | 0914668e11dbf825979f7419ce1bc78294cd3f7f /pkg/model/store.go | |
| parent | e17a425dfb3382310fb5863f516dacdca9f44956 (diff) | |
# This is a combination of 2 commits.
# This is the 1st commit message:
unmarshal all formats, merge them in the single table, users are truly unique
# This is the commit message #2:
i
Diffstat (limited to 'pkg/model/store.go')
| -rw-r--r-- | pkg/model/store.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/model/store.go b/pkg/model/store.go new file mode 100644 index 0000000..8479de6 --- /dev/null +++ b/pkg/model/store.go @@ -0,0 +1,7 @@ +package model + +type Store interface { + SaveUser(u *User) (*User, error) + SaveCard(c *Card) (*Card, error) + SaveFlight(f *Flight) (*Flight, error) +} |
