Skip to content

Commit 58b0b65

Browse files
authored
build: Format all Go code (#1387)
* build: Add fmt target * build: Format all Go code
1 parent 2c25c42 commit 58b0b65

File tree

8 files changed

+9
-0
lines changed

8 files changed

+9
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ psql:
2727
mysqlsh:
2828
mysqlsh --sql --user root --password mysecretpassword --database dinotest 127.0.0.1:3306
2929

30+
fmt:
31+
go fmt ./...
3032

3133
# $ protoc --version
3234
# libprotoc 3.17.3

examples/authors/mysql/db_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build examples
12
// +build examples
23

34
package authors

examples/authors/postgresql/db_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build examples
12
// +build examples
23

34
package authors

examples/booktest/postgresql/db_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build examples
12
// +build examples
23

34
package booktest

examples/ondeck/mysql/db_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build examples
12
// +build examples
23

34
package ondeck

examples/ondeck/postgresql/db_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build examples
12
// +build examples
23

34
package ondeck

internal/engine/postgresql/parse_windows.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build windows
12
// +build windows
23

34
package postgresql

internal/engine/postgresql/utils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !windows
12
// +build !windows
23

34
package postgresql

0 commit comments

Comments
 (0)