package
Version:
v0.0.2024020808
Opens a new window with list of versions in this module.
Published: Feb 8, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Run runs the go command with caching. The args are the same as the arguments to the `go run` command.
type BuildInfo struct {
GoVersion string `json:"go_version"`
BuildArgs []string `json:"build_args"`
Package *string `json:"package,omitempty"`
Files []*GoFile `json:"files,omitempty"`
Hash string `json:"hash"`
}
type GoEnv struct {
Version string `json:"GOVERSION"`
}
GoEnv is a struct to hold the output of `go env -json`.
type GoFile struct {
Name string `json:"name"`
Hash string `json:"hash"`
Size int64 `json:"-"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.