Mercurial > gemma
diff pkg/models/user.go @ 643:756f3fc62da6
Cross sections: Using the database in the web service.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 13 Sep 2018 12:09:23 +0200 |
parents | 729c2692fea0 |
children | a244b18cb916 |
line wrap: on
line diff
--- a/pkg/models/user.go Thu Sep 13 10:31:22 2018 +0200 +++ b/pkg/models/user.go Thu Sep 13 12:09:23 2018 +0200 @@ -49,7 +49,6 @@ `|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])`) errNoEmailAddress = errors.New("Not a valid email address") - errNoString = errors.New("Not a string") ) func (e *Email) UnmarshalJSON(data []byte) error {