Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReportService ¶
type ReportService struct {
// contains filtered or unexported fields
}
func NewReportService ¶
func NewReportService(ctx context.Context, projectID, collectionID string) (ReportService, error)
NewReportService returns a new repository wrapping a Firestore client. The client uses the given project and create documents to and retrieve documents from the given collection.
func (ReportService) Close ¶
func (s ReportService) Close() error
Close closes the connection to Firestore client.
Click to show internal directories.
Click to hide internal directories.