Make documentation for examples better.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Correct code formatting with go fmt.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Move from skipping tests to mocking Version() et al.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>