-
Notifications
You must be signed in to change notification settings - Fork 366
Dev Notes
Just some dev notes for developers. Who knows, maybe someone will find it useful?
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:
(Note: for the program arguments, add -c goguerrilla.debug.conf
- if you want the debugging session to use a different config file)
Happy debuggin'
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
https://talks.golang.org/2014/readability.slide#1 - Readable Go style
https://github.com/golang/go/wiki/CodeReviewComments - code review comments