New to the Go tools? Or do you want to expand your knowledge? This article is about the flags for the Go tools everyone should know.
Disclaimer: This article might be slightly biased. This is a collection of flags I personally use and flags people around me having trouble finding...
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. After restart it’s back to ~10M but each hour increased by few more. Golang has nice built-in tools to debug and find leaks.
I am honored to share that I have joined Google as a member of the Go team and will be primarily based in NYC.
RESTful Web API's are ubiquitous. Time for a minimalistic, five-minutes video tutorial about REST, RESTful API's, and buidling a REST server in Go.
Go programming language provides many unique good features to write and maintain examples for your packages backed by the testing tools.
As an addition to the test coverage and test coverage report, go test also can provide coverage for testable examples.
Use the following comman...
The Go language comes with a powerful built-in template engine. In Go, we have the template package to help handle templates. We can use functions like Parse, ParseFile and Execute to load templates from plain text or files, then evaluate the dynamic parts. Also it’s possib...
With Go 1.7, testing package supports sub-tests that allows you to run multiple smaller tests from a test case. Each sub test is reported independently in the go test output. More information about these recent additions can be found at Marcel van Lohuizen’s recent talk fro...
Every now and then an active java-based project enters in a “dependency hell” state. That usually happens because people keep adding dependencies without checking what comes in transitively nor if that dependency is declared somewhere else already.
It also seems to ha...