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,26 @@
package app
import (
"context"
)
type App struct { // TODO
}
type Logger interface { // TODO
}
type Storage interface { // TODO
}
func New(logger Logger, storage Storage) *App {
return &App{}
}
func (a *App) CreateEvent(ctx context.Context, id, title string) error {
// TODO
return nil
// return a.storage.CreateEvent(storage.Event{ID: id, Title: title})
}
// TODO