photoprism/internal/api/api.go
Michael Mayer 2156afd85a File browser: Implement clipboard; refactor entities and fixtures #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-25 19:10:44 +02:00

20 lines
364 B
Go

/*
This package contains the PhotoPrism REST api.
Additional information can be found in our Developer Guide:
https://github.com/photoprism/photoprism/wiki
*/
package api
import (
"github.com/photoprism/photoprism/internal/event"
)
var log = event.Log
func report(prefix string, err error) {
if err != nil {
log.Errorf("%s: %s", prefix, err.Error())
}
}