An open API service indexing awesome lists of open source software.

https://github.com/mostlygeek/go-quick-ref

Quick Reference Examples for golang
https://github.com/mostlygeek/go-quick-ref

Last synced: 3 months ago
JSON representation

Quick Reference Examples for golang

Awesome Lists containing this project

README

        

## Other Good Resources

* [What's in a Name](http://talks.golang.org/2014/names.slide) - slides, guidelines for naming things in go
* [http://golang.org/doc/faq#methods_on_values_or_pointers](http://golang.org/doc/faq#methods_on_values_or_pointers) Should I define methods on values or pointers? - important to know these finer points
* use a pointer if:
* need to change a value and have it visible to the caller?
* big struct, pointer is more efficient
* consistency: some methods use pointer receivers, the rest should too
* [Laws of Reflection](http://blog.golang.org/laws-of-reflection) - basic(ish) introduction to reflection in go