Documentation ¶
Overview ¶
Package testBase contains the information about the Airtable test base used by both stubbed and integration tests. Information includes table names and structs representing records in the different tables
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TasksTableName is the name of the Airtable table containing Task records TasksTableName = "Tasks" // TeamMatesTableName is the name of the Airtable table containing TeamMate records TeamMatesTableName = "Teammates" // LogTableName is the name of the Airtable table containing Log records LogTableName = "Log" )
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { AirtableID string `json:"id,omitempty"` Fields struct { AutoNumber int `json:"Auto Number"` Projects []string `json:"Projects"` } }
Log represents a single record in the `Log` Airtable table
type Task ¶
type Task struct { AirtableID string `json:"id,omitempty"` Fields struct { Name string `json:"name"` Notes string `json:"notes"` Completed bool `json:"Completed"` TimeEst float64 `json:"Time Estimate (days)"` } `json:"fields"` }
Task represents a single record in the `Task` Airtable table
Click to show internal directories.
Click to hide internal directories.