Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Models = []interface{}{ &Company{}, &Price{}, }
Functions ¶
This section is empty.
Types ¶
type Company ¶
type Company struct { ID string `gorm:"primarykey"` CreatedAt time.Time `json:"-"` UpdatedAt time.Time `json:"-"` Symbol string `json:"symbol" gorm:"unique"` Name string `json:"companyName" gorm:"unique"` Exchange string `json:"exchange"` Industry string `json:"industry"` Website string `json:"website"` Description string `json:"description"` CEO string `json:"CEO"` IssueType string `json:"issueType"` Sector string `json:"sector"` Employees int `json:"employees"` //Tags []string `json:"tags"` SecurityName string `json:"securityName"` PrimarySICCode int `json:"primarySicCode"` Address string `json:"address"` Address2 string `json:"address2"` State string `json:"state"` City string `json:"city"` Zip string `json:"zip"` Country string `json:"country"` Phone string `json:"phone"` }
Click to show internal directories.
Click to hide internal directories.