Created
February 18, 2023 21:11
-
-
Save marvinhosea/c1344caa1fd98f253e8d9c62e4d4cbba to your computer and use it in GitHub Desktop.
Main Initial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"errors" | |
"log" | |
"regexp" | |
) | |
var ( | |
ErrPasswordRequired = errors.New("password is required") | |
ErrSmallLettersRequired = errors.New("password must contain small letters") | |
ErrCapitalRequired = errors.New("password must contain capital letters") | |
ErrSpecialCharRequired = errors.New("password must contain a special character") | |
ErrPasswordDontMatch = errors.New("invalid password") | |
) | |
func main() {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment