Documentation ¶
Overview ¶
Package goversion provides a wrapper around the `GoVersion` type from the delve debugger
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoVersion ¶
GoVersion is just a wrapper around go-delve's goversion.GoVersion that also preserves the raw version string used for instantiating it. This is movivated by the need to disambiguate versions without revision numbers from versions with revision number 0 (eg. `1.19.0` vs `1.19`).
func NewGoVersion ¶
NewGoVersion returns a new GoVersion struct
func (*GoVersion) AfterOrEqual ¶
AfterOrEqual returns whether one GoVersion is after or equal to the other.
Click to show internal directories.
Click to hide internal directories.