summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'common.go')
-rw-r--r--common.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.go b/common.go
index 27b96bd..5e2cd4d 100644
--- a/common.go
+++ b/common.go
@@ -24,7 +24,7 @@ isAlpha := regexp.MustCompile(`^[A-Za-z]+$`).MatchString
for _, username := range []string{"userone", "user2", "user-three"} {
if !isAlpha(username) {
- fmt.Printf("%q is not valid\n", username)
+ log.Printf("%q is not valid\n", username)
}
}