firestore

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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 (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 (*FirestoreLinkDataStore) UpdateRating

func (ds *FirestoreLinkDataStore) UpdateRating(ctx context.Context, boardId string, linkId string, userRating domain.UserLinkRating) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL