models

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigFileName = ".gorocket.yml"

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchiveResult

type ArchiveResult struct {
	Target      BuildTarget
	ArchivePath string
}

type BrewConfig

type BrewConfig struct {
	Repository Repository `yaml:"repository"`
}

type BuildConfig

type BuildConfig struct {
	LdFlags string   `yaml:"ldflags,omitempty"`
	Targets []Target `yaml:"targets"`
}

type BuildInfo

type BuildInfo struct {
	ModuleName string
	Version    string
}

type BuildResult

type BuildResult struct {
	Target     BuildTarget
	BinaryPath string
}

type BuildTarget

type BuildTarget struct {
	OS   string
	Arch string
}

type Config

type Config struct {
	Build BuildConfig `yaml:"build"`
	Brew  *BrewConfig `yaml:"brew,omitempty"`
}

type FormulaInfo

type FormulaInfo struct {
	ModuleName   string
	Version      string
	Repository   Repository
	PlatformURLs map[string]map[string]FormulaURL
}

type FormulaURL

type FormulaURL struct {
	URL    string
	SHA256 string
}

type GitHubRepository

type GitHubRepository struct {
	Owner string
	Name  string
}

type ReleaseAsset

type ReleaseAsset struct {
	Name string
	Path string
}

type Repository

type Repository struct {
	Owner string `yaml:"owner"`
	Name  string `yaml:"name"`
}

type Target

type Target struct {
	OS   string   `yaml:"os"`
	Arch []string `yaml:"arch"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL