summaryrefslogtreecommitdiff
path: root/brewcheck.go
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-11-21 09:06:01 +0800
committerEltrac <hi@guhub.cn>2025-11-21 09:06:01 +0800
commitcf0d0e15faeabbdfa79caec505cf4ac31488eb56 (patch)
tree6611f6ad0112dd7a96d68dcb410181dc7ef86256 /brewcheck.go
parent3ce76a4e0be8edef6ee90ff4edb291aadb200e99 (diff)
style: gofmt all code
Diffstat (limited to 'brewcheck.go')
-rw-r--r--brewcheck.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/brewcheck.go b/brewcheck.go
index 677b2d7..ac34786 100644
--- a/brewcheck.go
+++ b/brewcheck.go
@@ -1,11 +1,11 @@
package main
import (
+ "fmt"
"os"
"os/exec"
"path/filepath"
"time"
- "fmt"
"github.com/adrg/xdg"
"github.com/fatih/color"
@@ -19,7 +19,7 @@ func EnsureBrewAvailable() {
// 1. check if cache file exists and is fresh
if info, err := os.Stat(cache); err == nil {
if time.Since(info.ModTime()) < TTL {
- return // recently verified that brew exists
+ return // recently verified that brew exists
}
}