This commit is contained in:
alexisvisco 2019-03-27 15:46:45 +01:00
parent 3061d33062
commit 306a0979b2
3 changed files with 9 additions and 2 deletions

View file

@ -7,10 +7,12 @@ import (
"sync"
)
// IngestBulkRecord is the struct to be used as a list in bulk operation.
type IngestBulkRecord struct {
Object, Text string
}
// IngestBulkError represent an error for a given object in a bulk operation.
type IngestBulkError struct {
Object string
Error error