Files
schreifuchs.ch/internal/components/images/image.go
T
2026-05-31 10:46:07 +02:00

13 lines
164 B
Go

package images
import "image"
type Image struct {
image.Image
Path string `json:"path"`
}
func (i Image) UID() (string, error) {
return UIDFromPath(i.Path)
}