doc: fix misprint in examples

This commit is contained in:
mehanizm
2021-03-29 11:05:18 +03:00
parent 10b0f57e4e
commit ef8f9308a7

View File

@@ -74,7 +74,7 @@ if err != nil {
recordsToSend := &airtable.Records{ recordsToSend := &airtable.Records{
Records: []*airtable.Record{ Records: []*airtable.Record{
{ {
Fields: map[string]interface{ Fields: map[string]interface{}{
"Field1": "value1", "Field1": "value1",
"Field2": true, "Field2": true,
}, },
@@ -113,13 +113,13 @@ To full update records
toUpdateRecords := &airtable.Records{ toUpdateRecords := &airtable.Records{
Records: []*airtable.Record{ Records: []*airtable.Record{
{ {
Fields: map[string]interface{ Fields: map[string]interface{}{
"Field1": "value1", "Field1": "value1",
"Field2": true, "Field2": true,
}, },
}, },
{ {
Fields: map[string]interface{ Fields: map[string]interface{}{
"Field1": "value1", "Field1": "value1",
"Field2": true, "Field2": true,
}, },