Exporters now need to return error. This is done because of simple error logging.
This commit is contained in:
@ -3,5 +3,5 @@ package export
|
||||
// Exporter interface is for extracting data to external resources.
|
||||
// Export functions should wait for new data from exports chan.
|
||||
type Exporter interface {
|
||||
Export(exports chan interface{})
|
||||
Export(exports chan interface{}) error
|
||||
}
|
||||
|
Reference in New Issue
Block a user