loader.go 332 B

1234567891011
  1. package loader
  2. import "io"
  3. // Loader is the interface for loading files from any datasource you would like to specify;
  4. // make sure that you implement this interface when developing support for reading fingerprint files from
  5. // your own desired sources!
  6. type Loader interface {
  7. LoadFile(fileName string) (io.ReadCloser, error)
  8. }