This commit applies fixes for the golint warnings shown on goreportcard. Signed-off-by: Lucas Servén Marín <lserven@gmail.com>