gofmt
the build was successful Details

This commit is contained in:
konrad 2018-01-23 14:32:23 +01:00 committed by kolaente
parent f27172cfd8
commit f7314b439f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import "fmt"
// ErrUsernameExists represents a "UsernameAlreadyExists" kind of error.
type ErrUsernameExists struct {
UserID int64
UserID int64
Username string
}
@ -16,4 +16,4 @@ func IsErrUsernameExists(err error) bool {
func (err ErrUsernameExists) Error() string {
return fmt.Sprintf("a user with this username does already exist [user id: %d, username: %s]", err.UserID, err.Username)
}
}