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

+13 -9
View File
@@ -7,10 +7,11 @@
package api
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
const (
@@ -320,13 +321,16 @@ func file_controller_api_v1_error_proto_rawDescGZIP() []byte {
return file_controller_api_v1_error_proto_rawDescData
}
var file_controller_api_v1_error_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_controller_api_v1_error_proto_goTypes = []interface{}{
(*WrappedError)(nil), // 0: controller.api.v1.WrappedError
(*ErrorDetails)(nil), // 1: controller.api.v1.ErrorDetails
(*FieldError)(nil), // 2: controller.api.v1.FieldError
(*Error)(nil), // 3: controller.api.v1.Error
}
var (
file_controller_api_v1_error_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
file_controller_api_v1_error_proto_goTypes = []interface{}{
(*WrappedError)(nil), // 0: controller.api.v1.WrappedError
(*ErrorDetails)(nil), // 1: controller.api.v1.ErrorDetails
(*FieldError)(nil), // 2: controller.api.v1.FieldError
(*Error)(nil), // 3: controller.api.v1.Error
}
)
var file_controller_api_v1_error_proto_depIdxs = []int32{
2, // 0: controller.api.v1.ErrorDetails.request_fields:type_name -> controller.api.v1.FieldError
0, // 1: controller.api.v1.ErrorDetails.wrapped_errors:type_name -> controller.api.v1.WrappedError