Initial commit

This commit is contained in:
NortPerm
2023-10-30 15:21:12 +03:00
committed by GitHub
commit 13e2575b4e
149 changed files with 3961 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package storage
type Event struct {
ID string
Title string
// TODO
}

View File

@@ -0,0 +1,14 @@
package memorystorage
import "sync"
type Storage struct {
// TODO
mu sync.RWMutex //nolint:unused
}
func New() *Storage {
return &Storage{}
}
// TODO

View File

@@ -0,0 +1,7 @@
package memorystorage
import "testing"
func TestStorage(t *testing.T) {
// TODO
}

View File

@@ -0,0 +1,20 @@
package sqlstorage
import "context"
type Storage struct { // TODO
}
func New() *Storage {
return &Storage{}
}
func (s *Storage) Connect(ctx context.Context) error {
// TODO
return nil
}
func (s *Storage) Close(ctx context.Context) error {
// TODO
return nil
}