Documentation
¶
Index ¶
- func BuildAllPlatforms(config BuildConfig, mainFilePath string, spinner *Spinner)
- func CheckGoInstalled() error
- func CompressResults(results []buildResult, spinner *Spinner)
- func IsMainFile(path string) (bool, error)
- func PrintSummaryTable(results []buildResult)
- func TIERFomrater(firstClass bool) string
- func ValidateProjectDirectory(dir string, spinner *Spinner) (string, error)
- type BuildConfig
- type GoDist
- type Spinner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAllPlatforms ¶
func BuildAllPlatforms(config BuildConfig, mainFilePath string, spinner *Spinner)
func CheckGoInstalled ¶
func CheckGoInstalled() error
func CompressResults ¶
func CompressResults(results []buildResult, spinner *Spinner)
func IsMainFile ¶
func PrintSummaryTable ¶
func PrintSummaryTable(results []buildResult)
func TIERFomrater ¶
Types ¶
type BuildConfig ¶
type GoDist ¶
type GoDist struct {
GOOS string `json:"GOOS"`
GOARCH string `json:"GOARCH"`
CgoSupported bool `json:"CgoSupported"`
FirstClass bool `json:"FirstClass"`
}
func FilterFirstClass ¶
func GetAvailablePlatforms ¶
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
func NewSpinner ¶
func (*Spinner) BufferWarn ¶
func (*Spinner) FlushWarnings ¶
func (s *Spinner) FlushWarnings()
func (*Spinner) SetMessage ¶
Click to show internal directories.
Click to hide internal directories.