···2222func checksum(ds []int64) int64 {
2323 var s int64
2424 for i, n := range ds {
2525- s += n * int64(len(ds) + 1 - i)
2525+ s += n * int64(len(ds)+1-i)
2626 }
2727 r := 11 - (s % 11)
2828 if r == 10 {
···6767 return fmt.Sprintf("%s.%s.%s-%s", u[:3], u[3:6], u[6:9], u[9:])
6868}
69697070-//Unmask remove format and return the raw data
7070+//Unmask removes any non-digit (numeric) from the Cpf
7171func (c Cpf) Unmask() string {
7272 return regexp.MustCompile(`\D`).ReplaceAllString(string(c), "")
7373}