Go Gotchas
Go Gotchas é uma série de 27 desafios na linguagem Go, propostos para melhoria do código que escrevemos no dia a dia.
Lista de Todos os Desafios
- Assignment to entry in nil map
- Invalid memory address or nil pointer dereference
- Multiple-value in single-value context
- Array won't change
- Shadowed variables
- Unexpected newline
- Immutable strings
- How does characters add up?
- What happened to ABBA?
- Where is my copy?
- Why doesn't append work every time? (scary bug)
- Constant overflows int
- Unexpected ++, expecting expression
- Get your priorities right
- Go and Pythagoras
- No end in sight
- Numbers that starts with zero
- Whatever remains
- Time is not a number
- Index out of range
- Unexpected values in range loop
- Can't change entries in range loop
- Iteration variable doesn't see change in range loop
- Iteration variables and closures
- No JSON in sight
- Is "three" a digit?
- Nil is not nil
A solução que fiz para cada desafio está dentro de uma pasta neste repositório.