fix: add comments

This commit is contained in:
Elton Minetto
2020-10-12 08:16:08 -03:00
parent 34b252f708
commit b1020aef90
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ func (u *User) Validate() error {
return nil
}
//ValidatePassword
//ValidatePassword validate user password
func (u *User) ValidatePassword(p string) error {
err := bcrypt.CompareHashAndPassword([]byte(u.Password), []byte(p))
if err != nil {