golang map转json的顺序问题

Posted by 夏泽民

我们都知道map是无序的,每次取出key/value的顺序都可能不一致,但map转json的顺序是不是也是无序的吗?尽管json中的参数顺序大部分情况下对使用没有影响,我们不妨看看源码中怎么处理的。



go bnf

Posted by 夏泽民

https://moego.me/golang_spec.html#id256 这是一篇 Go 编程语言的参考手册。访问 golang.org 以获取更多信息及其它文档。



为什么 Go 语言没有泛型

Posted by 夏泽民

https://draveness.me/whys-the-design-go-generics



file sever

Posted by 夏泽民

流程分析 借助TCP完成文件的传输,基本思路如下:



Why are my Go executable files so large

Posted by 夏泽民

https://www.cockroachlabs.com/blog/go-file-size https://github.com/knz/go-binsize-viz I built some tooling to extract details about the contents of a Go executable file, and a small D3 application to visualize this information interactively as zoomable tree maps.



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required