mirror of
https://github.com/derfenix/photocatalog.git
synced 2026-03-11 21:35:34 +03:00
Initial commit
This commit is contained in:
15
pkg/metadata/base.go
Normal file
15
pkg/metadata/base.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package metadata
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// Metadata contains meta data for the files have to be processed
|
||||
type Metadata struct {
|
||||
Time time.Time
|
||||
}
|
||||
|
||||
// Extractor interface for Metadata extractors
|
||||
type Extractor interface {
|
||||
Extract(string) (Metadata, error)
|
||||
}
|
||||
Reference in New Issue
Block a user