The `Cmp` function in the `github.com/nebulouslabs/sia/types/Currency` package is used to compare two instances of the `Currency` type in the Go programming language. It returns an integer value indicating whether the first currency is less than, equal to, or greater than the second currency. This comparison is based on the numeric value of the currency amount.
Golang Currency.Cmp - 21 examples found. These are the top rated real world Golang examples of github.com/NebulousLabs/Sia/types.Currency.Cmp extracted from open source projects. You can rate examples to help us improve the quality of examples.