As a Golang developer I have to clone a lot of packages/tools/etc into $GOPATH/src/github.
Usually integration tests take long time, because they’re doing real requests to real system.
In some of my projects we have code that needs to run external executables, and it’s very difficult to test them, especially when your function is based on some kind of stdout parcing.
Usually when we share a runnable Go code we do: copy code, open Go Playground, paste code, click Share.
Go team has released new version on February 16. You can get it from the download page.
Go is very rich for packages support. But I also can say that Go is a perfect language to write almost everything with help of stdlib only.
It’s the only one function all Go commands must have. You may say that everyone’s main() function is different, depends on a project.
Swagger UI is a great tool and a must have for any respectable API project.
Today we found that our web server written in Go has memory leaks and consume around 300M of memory, which is really a lot for our app.
The Go language comes with a powerful built-in template engine. In Go, we have the template package to help handle templates.