core

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ISO8601Basic = "2006-01-02"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Companies added in v0.0.4

type Companies []Company

func (Companies) FilterUnknownEdinetCode added in v0.0.7

func (c Companies) FilterUnknownEdinetCode() Companies

type Company added in v0.0.4

type Company struct {
	EdinetCode EdinetCode
	Name       CompanyName

	Docs map[string]Document
}

type CompanyName added in v0.0.4

type CompanyName string

func (CompanyName) String added in v0.0.4

func (c CompanyName) String() string

type ContentType

type ContentType string

func (ContentType) String

func (c ContentType) String() string

type Date added in v0.0.2

type Date string

func NewDate added in v0.0.2

func NewDate(value time.Time) Date

func (Date) AsTime added in v0.0.2

func (f Date) AsTime() (time.Time, error)

func (Date) String added in v0.0.2

func (f Date) String() string

type DateRange

type DateRange []Date

type Document added in v0.0.5

type Document struct {
	Id DocumentId
}

type DocumentId added in v0.0.5

type DocumentId string

func (DocumentId) String added in v0.0.5

func (d DocumentId) String() string

func (DocumentId) Valid added in v0.0.5

func (d DocumentId) Valid() bool

type EdinetCode added in v0.0.4

type EdinetCode string

func (EdinetCode) String added in v0.0.4

func (e EdinetCode) String() string

func (EdinetCode) Valid added in v0.0.7

func (e EdinetCode) Valid() bool

type Term

type Term struct {
	FromDate Date
	ToDate   Date
}

func NewTerm

func NewTerm(fromDate Date, toDate Date) Term

func (*Term) GetDateRange

func (t *Term) GetDateRange() DateRange

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL