Documentation
¶
Index ¶
Constants ¶
View Source
const ( NumberType FieldType = "number" DateType FieldType = "date" DatetimeType FieldType = "datetime" StringType FieldType = "string" PercentType FieldType = "percentage" DurationType FieldType = "duration" MoneyType FieldType = "money" Milliseconds TimeUnit = "milliseconds" Seconds TimeUnit = "seconds" Minutes TimeUnit = "minutes" Hours TimeUnit = "hours" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewWithURL ¶
func (*Client) DatasetService ¶
func (c *Client) DatasetService() DatasetService
type DataPayload ¶
type DataPayload struct {
Data Data `json:"data"`
}
type DatasetService ¶
type DatasetType ¶
type DatasetType string
type Field ¶
type Field struct { Type FieldType `json:"type"` Name string `json:"name"` Optional bool `json:"optional"` // Required only when field type is duration TimeUnit TimeUnit `json:"time_unit,omitempty"` // Required only when field type is money // ISO4217 currency code https://en.wikipedia.org/wiki/ISO_4217#Active_codes CurrencyCode string `json:"currency_code,omitempty"` }
Click to show internal directories.
Click to hide internal directories.