package storage import "errors" // ErrNotFound is raised when the IMEI is not found in the repository var ErrNotFound = errors.New("not found") // Repository contains functions that can interact with a storage type Repository interface { GetDeviceByIMEI(imei string) (*Device, error) GetDeviceByDeviceUID(deviceUID string) (*Device, error) }