See how Boundary would look with gofumpt applied (#853)

* See how Boundary would look with https://github.com/mvdan/gofumpt applied

Results of running `gofumpt -w -s .`

* Update tools file and Makefile for gofumpt

Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
This commit is contained in:
Michael GaffneyandJeff Mitchell authored and GitHub committed 2021-01-07 10:02:32 -05:00
1 parent cca0fbea2b
commit 94cb79bbdd
237 files changed
+1567 -1529

No files matched your search

+3 -3
View File
@@ -42,7 +42,7 @@ func TestAuthToken_DbUpdate(t *testing.T) {
future, err := ptypes.TimestampProto(time.Now().Add(time.Hour))
require.NoError(t, err)
var tests = []struct {
tests := []struct {
name string
args args
want *AuthToken
@@ -131,7 +131,7 @@ func TestAuthToken_DbCreate(t *testing.T) {
return id
}
var tests = []struct {
tests := []struct {
name string
in *store.AuthToken
wantError bool
@@ -185,7 +185,7 @@ func TestAuthToken_DbDelete(t *testing.T) {
org, _ := iam.TestScopes(t, iam.TestRepo(t, conn, wrapper))
existingAuthTok := TestAuthToken(t, conn, kms, org.GetPublicId())
var tests = []struct {
tests := []struct {
name string
at *writableAuthToken
wantError bool