FloatValue is a convenience value wrapper for a float64, usable as FloatValue{3.14}
| 39 | // FloatValue is a convenience value wrapper for a float64, usable as |
| 40 | // FloatValue{3.14} |
| 41 | type FloatValue struct { |
| 42 | F float64 |
| 43 | } |
| 44 | |
| 45 | func (fv FloatValue) ToAV() dynamodb.AttributeValue { |
| 46 | return dynamodb.AttributeValue{N: aws.String(strconv.FormatFloat(fv.F, 'G', 17, 64))} |
nothing calls this directly
no outgoing calls
no test coverage detected