summaryrefslogtreecommitdiff
path: root/storageinfo.go
diff options
context:
space:
mode:
Diffstat (limited to 'storageinfo.go')
-rw-r--r--storageinfo.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/storageinfo.go b/storageinfo.go
index 9df42c2..993f5ef 100644
--- a/storageinfo.go
+++ b/storageinfo.go
@@ -6,10 +6,6 @@ import (
"strconv"
)
-type StorageInfo struct {
- Capacity int64
-}
-
// MarshalJSON custom marshals the StorageInfo struct to JSON
func (s StorageInfo) MarshalJSON() ([]byte, error) {
capacityStr := fmt.Sprintf("%d GB", s.Capacity)