Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶
type Query struct {
FiscalYear string
Period financialsrole.PeriodType
Statement financialsrole.StatementType
Limit int
}
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(database *storage.Database) (Repository, error)
func (Repository) ListStatements ¶
func (r Repository) ListStatements(ctx context.Context, company companyidentity.InspectResult, query Query) ([]financialsrole.Statement, error)
func (Repository) UpsertStatements ¶
func (r Repository) UpsertStatements(ctx context.Context, company companyidentity.InspectResult, statements []financialsrole.Statement) (UpsertResult, error)
type UpsertResult ¶
Click to show internal directories.
Click to hide internal directories.