Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( MinSupportedVersionOfGoMajor = 1 MinSupportedVersionOfGoMinor = 19 MaxSupportedVersionOfGoMajor = 1 MaxSupportedVersionOfGoMinor = 22 )
var (
GoVer18Beta = GoVersion{1, 8, betaRev(0), "", ""}
)
Functions ¶
func Compatible ¶ added in v1.22.2
Compatible checks that the version specified in the producer string is compatible with this version of delve.
func ProducerAfterOrEqual ¶ added in v1.1.0
ProducerAfterOrEqual checks that the DW_AT_producer version is major.minor or a later version, or a development version.
func VersionAfterOrEqual ¶ added in v1.1.0
VersionAfterOrEqual checks that version (as returned by runtime.Version() or go version) is major.minor or a later version, or a development version.
func VersionAfterOrEqualRev ¶ added in v1.22.2
VersionAfterOrEqualRev checks that version (as returned by runtime.Version() or go version) is major.minor or a later version, or a development version.
Types ¶
type GoVersion ¶
type GoVersion struct { Major int Minor int Rev int // revision number or negative number for beta and rc releases Proposal string Toolchain string }
GoVersion represents the Go version of the Go compiler version used to compile the target binary.
func ParseProducer ¶ added in v1.22.2
func (*GoVersion) AfterOrEqual ¶
AfterOrEqual returns whether one GoVersion is after or equal to the other.