Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result int32
Result is the compare result type. Available types are Invalid, Smaller, Equal or Larger.
const ( // Smaller when the compared version is smaller than the latest one. Smaller Result = -1 // Equal when the compared version is equal with the latest one. Equal Result = 0 // Larger when the compared version is larger than the latest one. Larger Result = 1 // Invalid means that an error occurred when comparing the versions. Invalid Result = -2 )
Click to show internal directories.
Click to hide internal directories.