MCPcopy Index your code
hub / github.com/coder/coder / protoFloat

Function protoFloat

coderd/telemetry/telemetry.go:2114–2119  ·  view source on GitHub ↗
(f *wrapperspb.FloatValue)

Source from the content-addressed store, hash-verified

2112}
2113
2114func protoFloat(f *wrapperspb.FloatValue) *float32 {
2115 if f == nil {
2116 return nil
2117 }
2118 return &f.Value
2119}
2120
2121func protoDurationNil(d *durationpb.Duration) *time.Duration {
2122 if d == nil {

Callers 1

NetworkEventFromProtoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected