From bb833561aa74f02970aee13cdc75973b29716491 Mon Sep 17 00:00:00 2001 From: leshe4ka46 Date: Mon, 27 Oct 2025 20:36:28 +0300 Subject: # 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 --- pkg/model/store.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pkg/model/store.go (limited to 'pkg/model/store.go') 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) +} -- cgit v1.2.3