// CheckPassword determines whether the provided password is of correct
// format or not.
CheckPassword determines whether the provided password is of correct
format or not.
// CheckPassword determines whether the provided password is of correct // format or not .
func CheckPassword(p string) error {
	if len(p) < 8 { 
		return ErrInvalidPassword
	}
	return nil
}
func CheckPassword ( p string ) error { if len ( p ) < 8 { return ErrInvalidPassword } return nil }
CheckPassword determines whether the provided password is of correct
format or not.
CheckPassword determines whether the provided password is of correct format or not .
// TODO add more extensive checks?