diff options
| author | Eltrac <hi@guhub.cn> | 2025-11-21 08:52:13 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-11-21 08:52:13 +0800 |
| commit | c2f95c4002c3a3324752b7308c36cd8a0465e9fd (patch) | |
| tree | f3a924b651cfa105b2dd6ee4e3bac53bad87b581 /statistics.go | |
| parent | 4528958c13a5047d1e9e30d266996c93175e3731 (diff) | |
style: rename vars shorter to be idiomatic and fix typo
Diffstat (limited to 'statistics.go')
| -rw-r--r-- | statistics.go | 2 |
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 === // |
