摘要:
1、go build demo/gin_test: no non-test Go files in xxx 以*_test.go结尾的文件都无法编译运行,因此,修改文件名不以*_test.go结尾 参考:https://www.cnblogs.com/Zev_Fung/p/10371163.html 阅读全文
摘要:
1、go的编码方式 byte 等同于int8,即1Byte长度,常用来处理ascii字符。若要表示utf-8需要用byte数组。 ASCII(American Standard Code for Information Interchange,美国信息交换标准代码) rune 等同于int32,即4 阅读全文