Documentation ¶
Index ¶
- Constants
- type Airtable
- func (a *Airtable) Create(table Table, data []byte, response interface{}) error
- func (a *Airtable) Delete(table Table, id string) error
- func (a *Airtable) Get(table Table, id string, response interface{}) error
- func (a *Airtable) List(table Table, response interface{}) error
- func (a *Airtable) Update(table Table, id string, data []byte, response interface{}) error
- type Attachment
- type HTTPClient
- type Table
Constants ¶
View Source
const ( GET methodHttp = http.MethodGet POST methodHttp = http.MethodPost PUT methodHttp = http.MethodPut PATCH methodHttp = http.MethodPatch DELETE methodHttp = http.MethodDelete )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Airtable ¶
type Airtable struct {
// contains filtered or unexported fields
}
type Attachment ¶
type Attachment struct { ID string `json:"id"` Width int `json:"width"` Height int `json:"height"` URL string `json:"url"` Filename string `json:"filename"` Size int `json:"size"` Type string `json:"type"` Thumbnails struct { Small struct { URL string `json:"url"` Width int `json:"width"` Height int `json:"height"` } `json:"small"` Large struct { URL string `json:"url"` Width int `json:"width"` Height int `json:"height"` } `json:"large"` Full struct { URL string `json:"url"` Width int `json:"width"` Height int `json:"height"` } `json:"full"` } `json:"thumbnails"` }
Attachment object may contain the following properties
type HTTPClient ¶ added in v0.1.3
var (
Client HTTPClient
)
Click to show internal directories.
Click to hide internal directories.