Documentation ¶ Index ¶ func Generate(f Formula) ([]byte, error) func Write(outputPath string, body []byte) error type Asset type Formula func Build(tag, repo, checksumsPath, downloadBase string) (Formula, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ added in v1.1.0 func Generate(f Formula) ([]byte, error) func Write ¶ func Write(outputPath string, body []byte) error Types ¶ type Asset ¶ type Asset struct { GOOS string GOARCH string Name string SHA256 string URL string } type Formula ¶ type Formula struct { Tag string Version string Repo string ClassName string Desc string Homepage string Assets []Asset } func Build ¶ func Build(tag, repo, checksumsPath, downloadBase string) (Formula, error) Source Files ¶ View all Source files formula.goformula_build.goformula_io.goformula_shared.go Click to show internal directories. Click to hide internal directories.