Fix lint
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2020-10-10 13:00:34 +02:00
parent 7de86c5eb6
commit 627ed0cfd2
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 0 deletions

View File

@ -18,10 +18,12 @@ package error
import "fmt"
// ErrValueNotFoundForKey represents an error where a key could not be found
type ErrValueNotFoundForKey struct {
Key string
}
// Error is the error implementation
func (e *ErrValueNotFoundForKey) Error() string {
return fmt.Sprintf("could not find value for key %s", e.Key)
}