fix golang linting. fix golang snippets.

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>