Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValid ¶
IsValid checks whether CPF number is valid or not
Example (Invalid) ¶
fmt.Println(IsValid("111.111.111-11"))
Output: false
Example (ValidMasked) ¶
fmt.Println(IsValid("238.584.881-35"))
Output: true
Example (ValidUnmasked) ¶
fmt.Println(IsValid("23858488135"))
Output: true
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.