From cf0d0e15faeabbdfa79caec505cf4ac31488eb56 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Fri, 21 Nov 2025 09:06:01 +0800 Subject: style: gofmt all code --- brewget.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'brewget.go') diff --git a/brewget.go b/brewget.go index 4edcfc0..dc05520 100644 --- a/brewget.go +++ b/brewget.go @@ -1,11 +1,11 @@ package main import ( + "bytes" "encoding/json" + "github.com/fatih/color" "os/exec" "strings" - "bytes" - "github.com/fatih/color" ) type FormulaInfo struct { @@ -62,7 +62,7 @@ func GetBrewInfo(pkg string) (*FormulaInfo, *CaskInfo) { return nil, nil // not found } -func GetBrewUses(pkg string) ([]string) { +func GetBrewUses(pkg string) []string { cmd := exec.Command("brew", "uses", "--installed", pkg) var out bytes.Buffer cmd.Stdout = &out -- cgit v1.2.3