Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Categories ¶
type Categories interface { Add(ctx context.Context, telegramChatID int64, name string) error Remove(ctx context.Context, telegramChatID int64, name string) error AddToBeRenamedToCategory(ctx context.Context, telegramChatID int64, name string) error Rename(ctx context.Context, telegramChatID int64, newName string) error List(ctx context.Context, telegramChatID int64) ([]core.Category, error) }
type Interactions ¶
type Repository ¶
type Repository struct { Categories Notes Users Interactions }
func NewRepository ¶
func NewRepository(db *mongo.Client) *Repository
Click to show internal directories.
Click to hide internal directories.