Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
This section is empty.
Types ¶
type AnnouncementStorage ¶
type AnnouncementStorage interface { Create(ctx context.Context, announcement *model.Announcement) error GetAll(ctx context.Context, filter model.Filter) ([]*model.Announcement, error) Delete(ctx context.Context, id string) error InTx(ctx context.Context, txFn func(s AnnouncementStorage) error) error }
Click to show internal directories.
Click to hide internal directories.