Documentation
¶
Index ¶
- type FirestoreLinkDataStore
- func (ds *FirestoreLinkDataStore) CreateLink(ctx context.Context, boardId string, link domain.Link) error
- func (ds *FirestoreLinkDataStore) DeleteLink(ctx context.Context, boardId string, linkId string) error
- func (ds *FirestoreLinkDataStore) Link(ctx context.Context, boardId string, linkId string, rf domain.LinkReturnFields) (domain.LinkWithRating, error)
- func (ds *FirestoreLinkDataStore) Links(ctx context.Context, boardId string, rf domain.LinkReturnFields, ...) ([]domain.LinkWithRating, error)
- func (ds *FirestoreLinkDataStore) UpdateRating(ctx context.Context, boardId string, linkId string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FirestoreLinkDataStore ¶
type FirestoreLinkDataStore struct {
// contains filtered or unexported fields
}
func NewFirestoreLinkDataStore ¶
func NewFirestoreLinkDataStore(client *firestore.Client) *FirestoreLinkDataStore
func (*FirestoreLinkDataStore) CreateLink ¶
func (*FirestoreLinkDataStore) DeleteLink ¶
func (*FirestoreLinkDataStore) Link ¶
func (ds *FirestoreLinkDataStore) Link(ctx context.Context, boardId string, linkId string, rf domain.LinkReturnFields) (domain.LinkWithRating, error)
func (*FirestoreLinkDataStore) Links ¶
func (ds *FirestoreLinkDataStore) Links(ctx context.Context, boardId string, rf domain.LinkReturnFields, qp domain.LinkQueryParams) ([]domain.LinkWithRating, error)
func (*FirestoreLinkDataStore) UpdateRating ¶
func (ds *FirestoreLinkDataStore) UpdateRating(ctx context.Context, boardId string, linkId string, userRating domain.UserLinkRating) error
Click to show internal directories.
Click to hide internal directories.