EncodeFloat encodes a float in the format of EncodedValue.Value.
(f float64)
| 41 | |
| 42 | // EncodeFloat encodes a float in the format of EncodedValue.Value. |
| 43 | func EncodeFloat(f float64) string { |
| 44 | return strconv.FormatFloat(f, 'G', -1, 64) |
| 45 | } |
| 46 | |
| 47 | // EncodeProtobuf encodes a protobuf in the format of EncodedValue.Value. |
| 48 | func EncodeProtobuf(p protoutil.Message) string { |
no outgoing calls
no test coverage detected
searching dependent graphs…