Documentation ¶ Index ¶ type Environment type Info func Read() (*Info, error) type Module Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Environment ¶ type Environment struct { Version string `json:"version"` Arch string `json:"arch"` OS string `json:"os"` } type Info ¶ type Info struct { Version string `json:"version"` Name string `json:"name"` Time time.Time `json:"time"` Environment Environment `json:"go"` Deps []*Module `json:"deps"` } func Read ¶ func Read() (*Info, error) type Module ¶ type Module struct { Name string `json:"name"` Version string `json:"version"` } Source Files ¶ View all Source files environment.goinfo.gomodule.goruntime.go Click to show internal directories. Click to hide internal directories.