👹
Always evil sometimes.
Student from Tunku Abdul Rahman University College, Malaysia.
- Selangor, Malaysia
Pinned Loading
-
-
Test cases for email validation for ...
Test cases for email validation for Go based on https://blogs.msdn.microsoft.com/testing123/2009/02/06/email-address-test-cases/ 1package email
23import (
4"testing"
5)
-
email validation code for Go. For te...
email validation code for Go. For test cases, refer https://gist.github.com/Crazy3lf/5cd87ae25fb21c92284b04201f1ffc5e 1func isValidEmail(Value string) (result bool) {
2result = false
3var checkAllowed = regexp.MustCompile(`^[a-zA-z0-9_\-.+]+$`).MatchString
45i := strings.Index(Value, `@`)
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.