diff options
| author | Eltrac <hi@guhub.cn> | 2025-11-11 11:47:05 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-11-11 11:47:05 +0800 |
| commit | c996508bf1e15b78a1e2580a48c82132ea6f3a4b (patch) | |
| tree | 06219a46a9c4514538db6ef1a05c4966583aa679 /go.mod | |
| parent | 6741bc05e978676e77be06571e98a1f1eaa1d878 (diff) | |
perf: simplify brewcheck cache - ditch JSON format, store empty file and use
modification timestamp - if no brew, then no cache. if brew, then cache. -
simply check if file exists and is fresh to read cache
Diffstat (limited to 'go.mod')
| -rw-r--r-- | go.mod | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ module github.com/BigCoke233/wtfis go 1.25.4 require ( + github.com/adrg/xdg v0.5.3 // direct github.com/fatih/color v1.18.0 // direct github.com/urfave/cli/v3 v3.6.0 // direct ) @@ -10,5 +11,5 @@ require ( require ( github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - golang.org/x/sys v0.25.0 // indirect + golang.org/x/sys v0.26.0 // indirect ) |
