Documentation ¶
Overview ¶
package compare compares versions
Index ¶
- func Floats(ctx *types.Context, operator, g, w string) error
- func Integers(ctx *types.Context, operator, g, w string) error
- func IntegersOrFloats[T Number](ctx *types.Context, operator string, got, want T)
- func Optimistic(ctx *types.Context, operator, got, want string) error
- func Strings(ctx *types.Context, operator, got, want string) error
- func VersionSegment(ctx *types.Context, operator, gotStr, wantStr string, segment uint) error
- func Versions(ctx *types.Context, operator, gotStr, wantStr string) error
- type Number
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntegersOrFloats ¶ added in v0.2.0
func Optimistic ¶ added in v0.2.0
func VersionSegment ¶ added in v0.3.0
Types ¶
Click to show internal directories.
Click to hide internal directories.