Documentation ¶
Index ¶
- type Document
- type Store
- func (s *Store) AddDocument(ctx context.Context, documentParam Document) (Document, error)
- func (s *Store) DeleteDocument(ctx context.Context, documentParam Document) error
- func (s *Store) GetDocument(ctx context.Context, documentParam Document) (Document, error)
- func (s *Store) GetDocuments(ctx context.Context) ([]Document, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store stores the dependencies
func NewDocumentRepo ¶
NewDocumentRepo stores our dependency
func (*Store) AddDocument ¶
func (*Store) DeleteDocument ¶
func (*Store) GetDocument ¶
Click to show internal directories.
Click to hide internal directories.