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

+5 -9
View File
@@ -23,7 +23,7 @@ func TestScope_ImmutableFields(t *testing.T) {
ts := timestamp.Timestamp{Timestamp: &timestamppb.Timestamp{Seconds: 0, Nanos: 0}}
new, _ := TestScopes(t, repo)
var tests = []struct {
tests := []struct {
name string
update *Scope
fieldMask []string
@@ -82,7 +82,6 @@ func TestScope_ImmutableFields(t *testing.T) {
require.NoError(err)
assert.True(proto.Equal(orig.(*Scope), after.(*Scope)))
})
}
}
@@ -100,7 +99,7 @@ func TestConcreteScope_ImmutableFields(t *testing.T) {
org, proj := TestScopes(t, repo)
var tests = []struct {
tests := []struct {
name string
scopeId string
updateTo string
@@ -155,7 +154,7 @@ func TestUser_ImmutableFields(t *testing.T) {
org, proj := TestScopes(t, repo)
new := TestUser(t, repo, org.PublicId)
var tests = []struct {
tests := []struct {
name string
update *User
fieldMask []string
@@ -205,7 +204,6 @@ func TestUser_ImmutableFields(t *testing.T) {
require.NoError(err)
assert.True(proto.Equal(orig.(*User), after.(*User)))
})
}
}
@@ -222,7 +220,7 @@ func TestRole_ImmutableFields(t *testing.T) {
org, proj := TestScopes(t, repo)
new := TestRole(t, conn, org.PublicId)
var tests = []struct {
tests := []struct {
name string
update *Role
fieldMask []string
@@ -272,7 +270,6 @@ func TestRole_ImmutableFields(t *testing.T) {
require.NoError(err)
assert.True(proto.Equal(orig.(*Role), after.(*Role)))
})
}
}
@@ -289,7 +286,7 @@ func TestGroup_ImmutableFields(t *testing.T) {
org, proj := TestScopes(t, repo)
new := TestGroup(t, conn, org.PublicId)
var tests = []struct {
tests := []struct {
name string
update *Group
fieldMask []string
@@ -339,7 +336,6 @@ func TestGroup_ImmutableFields(t *testing.T) {
require.NoError(err)
assert.True(proto.Equal(orig.(*Group), after.(*Group)))
})
}
}