Fix gofmt problems and add gofmt to preupload checks

Test: gofmt -d .
Test: <bad change>, repo upload
Change-Id: I5ca0676461616f166a842d307c600dc50a50ec48
This commit is contained in:
Dan Willemsen 2016-10-20 18:46:48 -07:00
parent 7b872837c6
commit 78ffeea24e
2 changed files with 4 additions and 2 deletions

2
PREUPLOAD.cfg Normal file
View file

@ -0,0 +1,2 @@
[Builtin Hooks]
gofmt = true

View file

@ -25,9 +25,9 @@ import (
)
const (
asanCflags = "-fno-omit-frame-pointer"
asanCflags = "-fno-omit-frame-pointer"
asanLdflags = "-Wl,-u,__asan_preinit"
asanLibs = "libasan"
asanLibs = "libasan"
)
type sanitizerType int