mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-24 21:49:12 -06:00
12 lines
187 B
Go
12 lines
187 B
Go
package imgsource
|
|
|
|
import (
|
|
"context"
|
|
"image"
|
|
)
|
|
|
|
// Source defines the interface for image sources
|
|
type Source interface {
|
|
Get(ctx context.Context, path string) (image.Image, error)
|
|
}
|