summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-11-21 08:57:56 +0800
committerEltrac <hi@guhub.cn>2025-11-21 08:57:56 +0800
commit3ce76a4e0be8edef6ee90ff4edb291aadb200e99 (patch)
tree0c07eea2c478d83e368348760a152fc1a5a8e1d6 /main.go
parentc2f95c4002c3a3324752b7308c36cd8a0465e9fd (diff)
refactor: move print entry point to statistics.Print()
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 53f25d9..237fdb7 100644
--- a/main.go
+++ b/main.go
@@ -28,7 +28,7 @@ func main() {
formula, cask := GetBrewInfo(pkgName)
stat := NewStatistics(formula, cask, pkgName)
hideLoadingPrompt()
- PrintInfo(stat)
+ stat.Print()
return nil
},
}