package
0.0.0-20230911064405-b779cef8f299
Repository: https://github.com/sap/go-dblib.git
Documentation: pkg.go.dev
# Functions
NewCapability creates a new Capability instance with the description and ranges provided.
NewDefaultVersion returns an initialized DefaultVersion.
VersionCompareSemantic is the default method used to compare versions and only support semantic versioning.
# Structs
Capability is a representation for a defined behaviour of an application, API, library, etc.pp.
DefaultVersion implements the Version interface.
Target describes an application, API, library, etc.pp.
VersionRange describes the range of versions a capability is available for.
# Interfaces
Version is the interface that allows a Target to set capabilities.
# Type aliases
VersionComparer compares two versions and returns the following values:
-1 when a is lower than b 0 when a and b are equal 1 when a is higher than b.