impr: correct offset usage and add setters, add tests

This commit is contained in:
Mike Berezin
2021-01-29 13:21:39 +03:00
committed by mehanizm
parent e2b494035f
commit 420d81196b
5 changed files with 52 additions and 10 deletions

View File

@@ -12,7 +12,7 @@ import (
// Records base type of airtable records
type Records struct {
Records []*Record `json:"records"`
Offset int `json:"offset,omitempty"`
Offset string `json:"offset,omitempty"`
}
// Table represents table object