mirror of https://github.com/k3s-io/k3s
![]() 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). |
||
---|---|---|
.. | ||
quantity.go | ||
quantity_example_test.go | ||
quantity_proto.go | ||
quantity_test.go | ||
scale_int.go | ||
scale_int_test.go | ||
suffix.go |