From 1637507361f68b90ddfb50825639ecf6d417e31b Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 22 May 2020 15:30:01 +0800 Subject: [PATCH] udpate Signed-off-by: Bo-Yi Wu --- names/mapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/names/mapper.go b/names/mapper.go index 53db5f81..79add76e 100644 --- a/names/mapper.go +++ b/names/mapper.go @@ -114,7 +114,7 @@ func titleCasedName(name string) string { case upNextChar: upNextChar = false if 'a' <= c && c <= 'z' { - c += 'a' - 'A' + c -= 'a' - 'A' } case c == '_': upNextChar = true