#!/bin/bash set -e GO="${GO:-/usr/local/go/bin/go}" echo "Running go vet..." $GO vet ./... echo "Running tests..." $GO test ./... -v echo "All checks passed."