summaryrefslogtreecommitdiff
path: root/storageinfo.go
diff options
context:
space:
mode:
Diffstat (limited to 'storageinfo.go')
-rw-r--r--storageinfo.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/storageinfo.go b/storageinfo.go
index ea08bc6..1e25870 100644
--- a/storageinfo.go
+++ b/storageinfo.go
@@ -1,11 +1,6 @@
package virtbuf
-import (
- "encoding/json"
- "fmt"
- "strconv"
-)
-
+/*
// MarshalJSON custom marshals the WhatInfo struct to JSON
func (s WhatInfo) MarshalJSON() ([]byte, error) {
capacityStr := fmt.Sprintf("%d GB", s.Capacity)
@@ -37,7 +32,6 @@ func (s *WhatInfo) UnmarshalJSON(data []byte) error {
return nil
}
-/*
func main() {
info := WhatInfo{Capacity: 64}