forked from TrueCloudLab/frostfs-api-go
[#68] Makefile: Use gofumpt for formatting
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
ea6e390c7b
commit
a85146250b
9 changed files with 36 additions and 28 deletions
|
@ -205,22 +205,22 @@ type marshalerDesc struct {
|
|||
var marshalers = map[protoreflect.Kind]marshalerDesc{
|
||||
protoreflect.BoolKind: {Prefix: "Bool"},
|
||||
protoreflect.EnumKind: {Prefix: "Enum"},
|
||||
//protoreflect.Int32Kind: "",
|
||||
//protoreflect.Sint32Kind: "",
|
||||
// protoreflect.Int32Kind: "",
|
||||
// protoreflect.Sint32Kind: "",
|
||||
protoreflect.Uint32Kind: {Prefix: "UInt32", RepeatedDouble: true},
|
||||
protoreflect.Int64Kind: {Prefix: "Int64", RepeatedDouble: true},
|
||||
//protoreflect.Sint64Kind: "",
|
||||
// protoreflect.Sint64Kind: "",
|
||||
protoreflect.Uint64Kind: {Prefix: "UInt64", RepeatedDouble: true},
|
||||
//protoreflect.Sfixed32Kind: "",
|
||||
// protoreflect.Sfixed32Kind: "",
|
||||
protoreflect.Fixed32Kind: {Prefix: "Fixed32", RepeatedDouble: true},
|
||||
//protoreflect.FloatKind: "",
|
||||
//protoreflect.Sfixed64Kind: "",
|
||||
// protoreflect.FloatKind: "",
|
||||
// protoreflect.Sfixed64Kind: "",
|
||||
protoreflect.Fixed64Kind: {Prefix: "Fixed64", RepeatedDouble: true},
|
||||
protoreflect.DoubleKind: {Prefix: "Float64"},
|
||||
protoreflect.StringKind: {Prefix: "String"},
|
||||
protoreflect.BytesKind: {Prefix: "Bytes"},
|
||||
protoreflect.MessageKind: {Prefix: "NestedStructure"},
|
||||
//protoreflect.GroupKind: "",
|
||||
// protoreflect.GroupKind: "",
|
||||
}
|
||||
|
||||
func sortFields(fs []*protogen.Field) []*protogen.Field {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue