mirror of
https://github.com/derfenix/photocatalog.git
synced 2026-03-11 20:46:24 +03:00
16 lines
257 B
Go
16 lines
257 B
Go
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)
|
|
}
|