Add a gofmt check to CI
If we're going to start having folks writing Go code, it'll be good to
make sure that all the code is formatted. It means that folks should
never have formatting changes in their patch that's unrelated to what
they're actually trying to do.
Change-Id: I6cb657327dd4a238356b7ef38b9fb94446723ee5
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
diff --git a/build_tests/hello.go b/build_tests/hello.go
index 4cc584b..d2c4e91 100644
--- a/build_tests/hello.go
+++ b/build_tests/hello.go
@@ -3,5 +3,5 @@
import "fmt"
func main() {
- fmt.Println("Hello world")
+ fmt.Println("Hello world")
}