Golang 字符串比较

通过源码可看到 if ‘A’ <= sr && sr <= 'Z' && tr == sr+'a'-'A' 可以看到不区分大小写的实现。