Documentation ¶
Index ¶
- Constants
- func ListCompanies(db *sql.DB) (names []string, err error)
- func ListCompaniesProfits(db *sql.DB, rate float32) error
- func ListSector(db *sql.DB, company, yamlFile string) (err error)
- func Report(db *sql.DB, _company string, filename, yamlFile string) (err error)
- type CompanyInfo
- type Excel
- type Sheet
Constants ¶
View Source
const ( DEFAULT = iota + 1 // Number format NUMBER INDEX PERCENT EMPTY // Text position LEFT RIGHT CENTER )
Used by style
Variables ¶
This section is empty.
Functions ¶
func ListCompanies ¶
ListCompanies shows all available companies
func ListCompaniesProfits ¶ added in v0.9.0
ListCompaniesProfits lists companies by net profit: more sustainable growth listed first
func ListSector ¶ added in v0.8.1
ListSector shows all companies from the same sector as 'company'
Types ¶
type CompanyInfo ¶ added in v0.9.0
type CompanyInfo struct {
// contains filtered or unexported fields
}
CompanyInfo contains the company name and CNPJ
Click to show internal directories.
Click to hide internal directories.