Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Current version of knot Version string = "0.31.0" // The date the binary was built Date string )
Functions ¶
func FullVersion ¶ added in v0.28.0
func FullVersion() string
FullVersion returns the knot version annotated with the embedded scriptling runtime version, e.g. "0.27.0 (scriptling v0.14.0)".
func ScriptlingVersion ¶ added in v0.28.0
func ScriptlingVersion() string
ScriptlingVersion returns the version of the embedded scriptling module, read from the binary's build metadata. Returns "unknown" if it can't be determined, or "local" when a replace directive points at a working copy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.