Exporter and Extractor interfaces moved to its own package for simplicity of main Geziyor package

This commit is contained in:
Musab Gültekin committed 2019-07-02 13:22:23 +03:00
1 parent c0dd0393e6
commit 4ab7cfd904
6 files changed
+30 -25

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
package export
// Exporter interface is for extracting data to external resources.
// Geziyor calls every extractors Export functions before any scraping starts.
// Export functions should wait for new data from exports chan.
type Exporter interface {
Export(exports chan interface{})
}