随笔分类 - golang
摘要:Golang 大杀器之跟踪剖析 trace Go语言中文网 2019-07-17 在 Go 中有许许多多的分析工具,在之前我有写过一篇 《Golang 大杀器之性能剖析 PProf》 来介绍 PProf,如果有小伙伴感兴趣可以去我博客看看。 但单单使用 PProf 有时候不一定足够完整,因为在真实的
阅读全文
摘要:对一段有关Go Code Block和变量作用域的代码的简要分析 原创 Tony Bai TonyBai 2018-05-11 https://mp.weixin.qq.com/s/vD8jOjkt_kBc9fd8huIUAQ Each file has a file block containin
阅读全文
摘要:CPU缓存体系对Go程序的影响 原创 机器铃砍菜刀 Golang技术分享 2020-11-26
阅读全文
摘要:https://mp.weixin.qq.com/s/aMKhU9rG_Al-sA5DAFji_g Go 开发关键技术指南 | Go 面向失败编程 (内含超全知识大图) 原创 杨成立(忘篱) 阿里巴巴云原生 2019-12-25
阅读全文
摘要:struct--》stringreqS := fmt.Sprint(req)respS := fmt.Sprint(resp)
阅读全文
摘要:指针 - Go语言101(通俗版Go白皮书) https://gfw.go101.org/article/pointer.html *int // 一个基类型为int的非定义指针类型。 **int // 一个多级非定义指针类型,它的基类型为*int。 type Ptr *int // Ptr是一个定
阅读全文
摘要:var i int i=10 j:=string(i) k= strconv.FormatInt(int64(tmp0), 10)
阅读全文
摘要:通过 profiling 定位 golang 性能问题 - 内存篇 原创 张威虎 滴滴技术 2019-08-02
阅读全文
摘要:为什么Go自带的日志默认输出到os.Stderr? - 知乎 https://www.zhihu.com/question/67629357 Note that the Go runtime writes to standard error for panics and crashes; closi
阅读全文
摘要:gRPC Motivation and Design Principles | gRPC https://grpc.io/blog/principles/
阅读全文
摘要:The Zen of Go https://the-zen-of-go.netlify.app/ Ten engineering values for writing simple, readable, maintainable Go code. Presented at GopherCon Isr
阅读全文
摘要:Unix domain sockets in Go - Golang News https://golangnews.org/2019/02/unix-domain-sockets-in-go/ package mainimport ( "fmt" "log" "net" "os" "time")c
阅读全文
摘要:https://docs.google.com/document/d/1TTj4T2JO42uD5ID9e89oa0sLKhJYD0Y_kqxDv3I3XMw/ Scalable Go Scheduler Design Doc Dmitry Vyukov dvyukov@google.com May
阅读全文
摘要:实现方式 1、chan 2、锁 3、select{} // block here for ever
阅读全文
摘要:https://github.com/grpc/grpc-go/blob/master/Documentation/grpc-metadata.md https://github.com/grpc/grpc-go/blob/master/examples/features/metadata/clie
阅读全文
摘要:styleguide | Style guides for Google-originated open-source projects https://google.github.io/styleguide/pyguide.html def now(): print(datetime.dateti
阅读全文
摘要:http://golang.org/s/better-linker The original linker was also simpler than it is now and its implementation fit in one Turing award winner’s head, so
阅读全文
摘要:/Go/src/container/list/list.go:10 // remove removes e from its list, decrements l.len, and returns e.func (l *List) remove(e *Element) *Element { e.pr
阅读全文
摘要:src/internal/poll/fd_unix.go:85 // Close closes the FD. The underlying file descriptor is closed by the// destroy method when there are no remaining r
阅读全文

浙公网安备 33010602011771号