Skip to content

Instantly share code, notes, and snippets.

@marvinhosea
Created February 18, 2023 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marvinhosea/c1344caa1fd98f253e8d9c62e4d4cbba to your computer and use it in GitHub Desktop.
Save marvinhosea/c1344caa1fd98f253e8d9c62e4d4cbba to your computer and use it in GitHub Desktop.
Main Initial
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