Discover Packages
github.com/dli-invest/sec-parser-go
pkg
sec
package
Version:
v0.0.0-...-b4f2217
Opens a new window with list of versions in this module.
Published: Dec 12, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AutoGenerated struct {
Took int `json:"took"`
TimedOut bool `json:"timed_out"`
Shards Shards `json:"_shards"`
Hits HitsParent `json:"hits"`
}
type Bool struct {
Should []Should `json:"should"`
}
type Entity struct {
Query string `json:"query"`
Operator string `json:"operator"`
}
type Exists struct {
Field string `json:"field"`
Boost int `json:"boost"`
}
type Hits struct {
Index string `json:"_index"`
Type string `json:"_type"`
ID string `json:"_id"`
Score float64 `json:"_score"`
Source Source `json:"_source,omitempty"`
}
type HitsParent struct {
Total Total `json:"total"`
MaxScore float64 `json:"max_score"`
Hits []Hits `json:"hits"`
}
type ID struct {
Query string `json:"query"`
}
type Match struct {
Entity Entity `json:"entity"`
}
type Match0 struct {
ID ID `json:"_id"`
}
type Must struct {
Bool Bool `json:"bool"`
}
type Shards struct {
Total int `json:"total"`
Successful int `json:"successful"`
Skipped int `json:"skipped"`
Failed int `json:"failed"`
}
type Should struct {
Match Match `json:"match,omitempty"`
Match0 Match0 `json:"match,omitempty"`
Exists Exists `json:"exists,omitempty"`
}
type Source struct {
Entity string `json:"entity"`
EntityWords string `json:"entity_words"`
Tickers string `json:"tickers"`
Rank int `json:"rank"`
}
type Tickers struct {
Query string `json:"query"`
Operator string `json:"operator"`
Boost int `json:"boost"`
}
type Total struct {
Value int `json:"value"`
Relation string `json:"relation"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.