Skip to content

Commit

Permalink
Corret wellKnownTypeConv function references
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbrandhorst committed Nov 15, 2018
1 parent 6bf7a02 commit 9aa2ebf
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions protoc-gen-grpc-gateway/descriptor/types.go
Expand Up @@ -453,14 +453,14 @@ var (
wellKnownTypeConv = map[string]string{
".google.protobuf.Timestamp": "runtime.Timestamp",
".google.protobuf.Duration": "runtime.Duration",
".google.protobuf.StringValue": "runtime.StringValue",
".google.protobuf.BytesValue": "runtime.BytesValue",
".google.protobuf.Int32Value": "runtime.Int32Value",
".google.protobuf.UInt32Value": "runtime.UInt32Value",
".google.protobuf.Int64Value": "runtime.Int64Value",
".google.protobuf.UInt64Value": "runtime.UInt64Value",
".google.protobuf.FloatValue": "runtime.FloatValue",
".google.protobuf.DoubleValue": "runtime.DoubleValue",
".google.protobuf.BoolValue": "runtime.BoolValue",
".google.protobuf.StringValue": "runtime.String",
".google.protobuf.BytesValue": "runtime.Bytes",
".google.protobuf.Int32Value": "runtime.Int32",
".google.protobuf.UInt32Value": "runtime.UInt32",
".google.protobuf.Int64Value": "runtime.Int64",
".google.protobuf.UInt64Value": "runtime.UInt64",
".google.protobuf.FloatValue": "runtime.Float",
".google.protobuf.DoubleValue": "runtime.Double",
".google.protobuf.BoolValue": "runtime.Bool",
}
)

0 comments on commit 9aa2ebf

Please sign in to comment.