Fix warnings from go vet

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Merge pull request #156 from LK4D4/fix_vet_errors

Fix warnings from go vet