-
Tim St. Clair authored
Treat `nil` Amount as 0 in `resource.Quantity.Add` and `resource.Quantity.Sub`. Also, allow adding/subtracting resources with different Formats (since Format has no effect on the underlying value).
b4116eb7
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| quantity.go | ||
| quantity_example_test.go | ||
| quantity_proto.go | ||
| quantity_test.go | ||
| scale_int.go | ||
| scale_int_test.go | ||
| suffix.go |