Documentation ¶
Index ¶
- Variables
- func Import(reorgDir string, reimport, storeWithoutSymbol bool) error
- type Announcement
- func (i Announcement) Is(code announcement.NotificationType) bool
- func (i Announcement) ParseDeleteTextNumber(lines []string) string
- func (i Announcement) ParseDueRedemptionDate(lines []string) string
- func (i Announcement) ParseNewRate(lines []string) string
- func (i Announcement) ParseOldRate(lines []string) string
- func (i Announcement) ParseUpdateTextNumber(lines []string) string
Constants ¶
This section is empty.
Variables ¶
var ( UINT = reflect.TypeOf(uint(1)).Name() UINT8 = reflect.TypeOf(uint8(1)).Name() UINT16 = reflect.TypeOf(uint16(1)).Name() UINT32 = reflect.TypeOf(uint32(1)).Name() UINT64 = reflect.TypeOf(uint64(1)).Name() INT = reflect.TypeOf(1).Name() INT8 = reflect.TypeOf(int8(1)).Name() INT16 = reflect.TypeOf(int16(1)).Name() INT32 = reflect.TypeOf(int32(1)).Name() INT64 = reflect.TypeOf(int64(1)).Name() FLOAT = reflect.TypeOf(exampleFloat).Name() STRING = reflect.TypeOf("").Name() )
var TIME = reflect.TypeOf(time.Time{}).Name()
Functions ¶
Types ¶
type Announcement ¶
type Announcement struct { EntryDate time.Time `reorg:"line:0 pos:64-72 format:01/02/06"` DealNumber string `reorg:"line:1 pos:6-8"` TextNumber int `reorg:"line:1 pos:16-23"` Remarks string `reorg:"line:1 pos:33-45"` NotificationType announcement.NotificationType `reorg:"line:1 pos:53 format:%c"` Status announcement.StatusCode `reorg:"line:1 pos:54 format:%c"` UpdatedNotificationType announcement.NotificationType `reorg:"line:1 pos:55 format:%c"` NrOfOptions string `reorg:"line:1 pos:56"` SecurityType announcement.SecurityType `reorg:"line:1 pos:57 format:%c"` EffectiveDate time.Time `reorg:"line:1 pos:64-72 format:01/02/06"` TargetCusip string `reorg:"line:2 pos:7-16"` TargetDescription string `reorg:"line:2 pos:19-29"` InitiatingCusip string `reorg:"line:2 pos:36-45"` InitiatingDescription string `reorg:"line:2 pos:48-58"` ExpirationDate time.Time `reorg:"line:2 pos:64-72 format:01/02/06"` Cash float64 `reorg:"line:3 pos:5-15"` CashCode string `reorg:"line:3 pos:19"` StateCode string `reorg:"line:3 pos:30-32"` RecordDate time.Time `reorg:"line:3 pos:64-72 format:01/02/06"` Rate float64 `reorg:"line:4 pos:6-15"` RateCode string `reorg:"line:4 pos:19"` VoluntaryMandatoryCode announcement.ActionCode `reorg:"line:4 pos:33 format:%c"` UpdateTextNumber int `reorg:"func:ParseUpdateTextNumber"` DeleteTextNumber int `reorg:"func:ParseDeleteTextNumber"` NewRate float64 `reorg:"func:ParseNewRate"` OldRate float64 `reorg:"func:ParseOldRate"` DueRedemptionDate time.Time `reorg:"func:ParseDueRedemptionDate"` }
func (Announcement) Is ¶
func (i Announcement) Is(code announcement.NotificationType) bool
nolint:gocritic // TODO: refactor (change Announcement -> *Announcement and related code using lots of reflection)
func (Announcement) ParseDeleteTextNumber ¶
func (i Announcement) ParseDeleteTextNumber(lines []string) string
nolint:gocritic // TODO: refactor (change Announcement -> *Announcement and related code using lots of reflection)
func (Announcement) ParseDueRedemptionDate ¶
func (i Announcement) ParseDueRedemptionDate(lines []string) string
nolint:gocritic //TODO: refactor (change Announcement -> *Announcement and related code using lots of reflection)
func (Announcement) ParseNewRate ¶
func (i Announcement) ParseNewRate(lines []string) string
nolint:gocritic // TODO: refactor (change Announcement -> *Announcement and related code using lots of reflection)
func (Announcement) ParseOldRate ¶
func (i Announcement) ParseOldRate(lines []string) string
nolint:gocritic // TODO: refactor (change Announcement -> *Announcement and related code using lots of reflection)
func (Announcement) ParseUpdateTextNumber ¶
func (i Announcement) ParseUpdateTextNumber(lines []string) string
nolint:gocritic // TODO: refactor (change Announcement -> *Announcement and related code using lots of reflection)