Skip to content

Commit b71c1fa

Browse files
committed
fix DoubleValue known converter
1 parent 033db56 commit b71c1fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generator/template/transport_grpc_protobuf_type_converters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func specialTypeConverter(p types.Type) *Statement {
6161
if name != nil && *name == "float64" && imp == nil {
6262
ptr, ok := p.(types.TPointer)
6363
if ok && ptr.NumberOfPointers == 1 {
64-
return (&Statement{}).Qual(GolangProtobufWrappers, "DoubleValue").Values()
64+
return Op("*").Qual(GolangProtobufWrappers, "DoubleValue")
6565
}
6666
}
6767
return nil

0 commit comments

Comments
 (0)