- I want to convert a list of type T1 to a list of type T2. Do I convert its element one-by-one?
- Does a Go project needs to be under
GOPATH? I wrote a tool in Go and want to check it into an exising repository, but don’t want to put the repo under GOPATH as it’s mostly written in non-Go languages
- AWS SDK for Go exposes
structs but not many interfaces hence hard to mock in unit tests.
- Where is list manipulation functions like
filter, map, reduce, …?
- Dereferencing a
nil pointer doesn’t cause an error??
- Go’s
struct doesn’t have a constructor. How can I make sure my objects are instantiated consistently?
- Is it appropriate to use channel here? Go channels are bad and you should feel bad