阅读目录——更新ing一、golang学习 golang “undefined” function declared in another file?How to Write Go Codereflect.TypeOf().Kind()获取到的类型是reflect.PtrGo 语言反射的实现原理Go Reflect 高级实践golang reflect包,反射学习与实践Learning to Use Go ReflectionPart 34: ReflectionThe Illustrated Children...
阅读目录——更新ing一、golang Effective GoPackage httpHow does golang do with complicated regexp patternRegexp tutorial and cheat sheetPackage syntaxPackage regexpPackage runtimePackage syncPackage atomicShare Memory By CommunicatingThe Go Memory ModelCommunicating Sequential Processes (CSP)Bell La...
阅读目录——更新ing一、 linuxwhat does “make check” do?Why mmap is faster than system callsLinux 有问必答:Linux 上如何查看某个进程的线程Linux disable firewall commandHow to enable or disable SELinux and check status on centOSHow do I compare binary files in Linux?That XOR Trick二、工具[Git - histo...
阅读目录——更新ing一、golangJSON unmarshaling with long numbers gives floating point numberStop json.Marshal() from stripping trailing zero from floating point numberGolang 中遇到的一些关于 JSON 处理的坑Awesome GoCould not build on macOS for linux amd64 undefined: unix.GetsockoptLingerFull-text se...
一、参考emacs系列文章目录——更新ingHow to have Emacs auto-refresh all buffers when files have changed on disk?How can I reload .emacs after changing it?二、emacs本身命令说明M-x emacs-version查看emacs的版本信息C-h v major-mode查看主模式C-h v minor-mode-list查看次要模式c-h m查看当前的所有模式,包含...
一、参考golang学习系列目录——更新ingGo Modules: an Alternative to GOPATH for Package Distribution二、gopath当go 语言在2009年发布的时候,还没有对应的包管理器使用 go get 将获取到所有的资源,并且保存位置为 $GOPATH/src使用 go get 安装一个第三方库,将没有版本信息,默认为master分支三、go module3.1 go mo...