Better HN
topnewbestaskshowjobs
Log inSign up

asdfasdfasjkl

1 karma · joined Jul 22, 2015 (11y ago) · 1 submissions

Submissions

comment 11y ago · link · parent

// VerifyPassword checks if password is valid and upgrades it if its encrypting scheme was outdated // Returns isValid, wasUpdated, error

func (a *Account) VerifyPassword(password string) (bool, bool, error) {

this is why we need sum types people