解决 Access to script at 'xx' from origin 'xx' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
excelize.OpenFile zip: not a valid zip file
比如要屏蔽某个地区的IP,比较简单的实现方法,是把IP地址转化为整数,通过对比整数大小来判断是否是某段IP区间
go语言没有现成的方法获取域名,我们知道通过正则表达式可以实现对字符匹配,而url具有统一的标准,很适合用正则来匹配。