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

@@ -28,7 +28,7 @@ func TestRepository_CreateAuthMethod(t *testing.T) {
iamRepo := iam.TestRepo(t, conn, wrapper)
org, _ := iam.TestScopes(t, iamRepo)
var tests = []struct {
tests := []struct {
name string
in *AuthMethod
opts []Option
@@ -266,7 +266,7 @@ func TestRepository_LookupAuthMethod(t *testing.T) {
amId, err := newAuthMethodId()
require.NoError(t, err)
var tests = []struct {
tests := []struct {
name string
in string
want *AuthMethod
@@ -317,7 +317,7 @@ func TestRepository_DeleteAuthMethod(t *testing.T) {
newAuthMethodId, err := newAuthMethodId()
require.NoError(t, err)
var tests = []struct {
tests := []struct {
name string
in string
want int
@@ -368,7 +368,7 @@ func TestRepository_ListAuthMethods(t *testing.T) {
o, _ := iam.TestScopes(t, iamRepo)
authMethods := TestAuthMethods(t, conn, o.GetPublicId(), 3)
var tests = []struct {
tests := []struct {
name string
in string
opts []Option
@@ -420,7 +420,7 @@ func TestRepository_ListAuthMethods_Limits(t *testing.T) {
authMethodCount := 10
ams := TestAuthMethods(t, conn, o.GetPublicId(), authMethodCount)
var tests = []struct {
tests := []struct {
name string
repoOpts []Option
listOpts []Option