04 2021 档案
摘要:ConcurrentDictionary的ContainsKey 保证了多线程读取、写入没问题,线程安全。但是并不能保证Key 重复 。这里多线程的时候,Key可能重复导致Add失败,请优先使用 AddOrUpdate 。 using System; using System.Collections
阅读全文
摘要:Go windows 环境搭建 1、下载安装Golang Go 官网下载地址:https://golang.org/dl/ Go 官方镜像站(推荐):https://golang.google.cn/dl/ 2、验证安装成功 go version go version go1.13.8 window
阅读全文
摘要:A few questions came up: 提出了一些问题: Does a base64 string always end with = ? base64字符串是否总是以=结尾吗? Why does an = get appended at the end? 为什么在末尾添加= ? It's
阅读全文