Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDuplicate = errors.New("duplicate entry") ErrNotFound = errors.New("not found") ErrDocumentsMismatch = errors.New("documents did not match count") )
Common errors.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document struct {
ID string
Created time.Time
Sequence int64
DocType string
EdgarURL string
Description string
Body string
SizeEstimate string
FilingID string
}
Document represent a single document in a filing.
type Filer ¶
type Filer struct {
ID string
Symbol string
CIK string
Name string
SIC string
SICDescription string
}
Filer is a single sec filer.
type Filing ¶
type Filing struct {
ID string
Created time.Time
Updated time.Time
Filer string
Accession string
CIK string
EdgarURL string
EdgarTime time.Time
FilerRelation string
FormType string
DocumentCount int64
TotalSizeEstimate string
Symbol string
AllSymbols []string
AllCIKs []string
}
Filing represents a sec filing after a successful parsing of an Entry.
type Time ¶
Time wraps time.Time with serialization support.
func TimeFromFloat ¶
TimeFromFloat converts timestamp floats to a Time object.
func (Time) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Time) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
Click to show internal directories.
Click to hide internal directories.