docs: fix typos and clean up comments

This commit is contained in:
Glenn Gonda
2023-02-18 20:30:17 -08:00
committed by Christian Rocha
parent 76c3c1a221
commit 4880cf2a09
9 changed files with 12 additions and 12 deletions

View File

@@ -71,7 +71,7 @@ func ccnValidator(s string) error {
func expValidator(s string) error {
// The 3 character should be a slash (/)
// The rest thould be numbers
// The rest should be numbers
e := strings.ReplaceAll(s, "/", "")
_, err := strconv.ParseInt(e, 10, 64)
if err != nil {