Documentation
¶
Index ¶
- func ParseJson(body []byte, job interface{}) error
- func Request(method string, path string, c *cli.Context) ([]byte, bool, error)
- func Upload(file *os.File, direction string, format string, fields string, c *cli.Context) ([]byte, error)
- func ValidateSpreadsheetJobId(c *cli.Context) (int, error)
- type FileItem
- type SpreadsheetJob
- type StatusItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SpreadsheetJob ¶
type SpreadsheetJob struct {
Id int `json:"id"`
Fields []string `json:"fields"`
File FileItem `json:"file"`
Status StatusItem `json:"status"`
DownloadUrl string `json:"download_url"`
ExpiresAt time.Time `json:"expires_at"`
Message string `json:"message,omitempty"`
Error string `json:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.