Skip to content
Flashmob edited this page Mar 14, 2017 · 1 revision

Random Dev Notes

Just some dev notes for developers. Who knows, maybe someone will find it useful?

InteliJ IDEA

Debugger configuration

If you're using InteliJ IDEA for your IDE with the Go plugin, you may be able to get debugging working with the following settings:

InteliJ Idea debuger config for Golang

(Note: for the program arguments, add -c goguerrilla.debug.conf - if you want the debugging session to use a different config file)

Happy debuggin'

Random Links

On buffering & pooling

https://gist.github.com/colm-mchugh/ee3b0b7b062a235a871b - source examples

https://elithrar.github.io/article/using-buffer-pools-with-go/ - nice writeup about Sized buffer pools

https://github.com/djherbis/buffer - composite buffers (the unbounded bounder could be really useful, the ring buffer is interesting

Go style

https://talks.golang.org/2014/readability.slide#1 - Readable Go style

https://github.com/golang/go/wiki/CodeReviewComments - code review comments