summaryrefslogtreecommitdiff
path: root/statistics.go
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-11-21 08:52:13 +0800
committerEltrac <hi@guhub.cn>2025-11-21 08:52:13 +0800
commitc2f95c4002c3a3324752b7308c36cd8a0465e9fd (patch)
treef3a924b651cfa105b2dd6ee4e3bac53bad87b581 /statistics.go
parent4528958c13a5047d1e9e30d266996c93175e3731 (diff)
style: rename vars shorter to be idiomatic and fix typo
Diffstat (limited to 'statistics.go')
-rw-r--r--statistics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/statistics.go b/statistics.go
index 80017c9..6c7ed88 100644
--- a/statistics.go
+++ b/statistics.go
@@ -25,7 +25,7 @@ type statistics struct {
ReverseDependencies []string;
}
-func UnifyInfo(formula *FormulaInfo, cask *CaskInfo, pkgName string) (*statistics) {
+func NewStatistics(formula *FormulaInfo, cask *CaskInfo, pkgName string) (*statistics) {
var statObject statistics
// === formula/cask specific === //