From b0baff2249b84f6069c9aadf1196f282d22cfbc6 Mon Sep 17 00:00:00 2001 From: Jiquan Long Date: Fri, 17 Dec 2021 21:52:46 +0800 Subject: [PATCH] [skip e2e] Add comment for isNumber (#13653) Signed-off-by: dragondriver --- internal/proxy/validate_util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/proxy/validate_util.go b/internal/proxy/validate_util.go index 22b511a5f3..b05878d13e 100644 --- a/internal/proxy/validate_util.go +++ b/internal/proxy/validate_util.go @@ -35,6 +35,7 @@ func isAlpha(c uint8) bool { return true } +// isNumber check if c is a number. func isNumber(c uint8) bool { if c < '0' || c > '9' { return false