diff options
Diffstat (limited to 'statistics.go')
| -rw-r--r-- | statistics.go | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/statistics.go b/statistics.go index 0cd7d44..46e89c1 100644 --- a/statistics.go +++ b/statistics.go @@ -1,32 +1,32 @@ package main import ( + "fmt" "os" "path/filepath" "syscall" "time" - "fmt" ) type statistics struct { - Name string; - Type string; //formula or cask - Desc string; - Outdated bool; + Name string + Type string //formula or cask + Desc string + Outdated bool - InstalledAsDependency bool; - InstalledOnRequest bool; - BinaryExists bool; - LastAccessTime time.Time; + InstalledAsDependency bool + InstalledOnRequest bool + BinaryExists bool + LastAccessTime time.Time - InstalledVersion string; - Homepage string; - License string; + InstalledVersion string + Homepage string + License string - ReverseDependencies []string; + ReverseDependencies []string } -func NewStatistics(formula *FormulaInfo, cask *CaskInfo, pkgName string) (*statistics) { +func NewStatistics(formula *FormulaInfo, cask *CaskInfo, pkgName string) *statistics { var statObject statistics // === formula/cask specific === // |
