package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Apr 6, 2026
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type EnvError struct {
XMLName xml.Name `xml:"error"`
Code int `xml:"code,attr"`
Msg string `xml:"msg,attr"`
}
type EnvResult struct {
XMLName xml.Name `xml:"env"`
Timestamp int64 `xml:"timestamp,attr"`
Variables []EnvVar `xml:"var,omitempty"`
Path []PathEntry `xml:"path_entry,omitempty"`
Errors []EnvError `xml:"error,omitempty"`
}
type EnvVar struct {
XMLName xml.Name `xml:"var"`
Name string `xml:"name,attr"`
Value string `xml:"value,attr"`
Type string `xml:"type,attr"`
Present string `xml:"present,attr"`
Redacted string `xml:"redacted,attr"`
PathExists string `xml:"path_exists,attr,omitempty"`
}
type PathEntry struct {
XMLName xml.Name `xml:"path_entry"`
Index int `xml:"index,attr"`
Path string `xml:"path,attr"`
Exists string `xml:"exists,attr"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.