diff options
| author | Jeff Carr <[email protected]> | 2024-12-01 18:41:00 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-01 18:41:00 -0600 |
| commit | afd0bd642841f4dee9ca29c4913a26319aa28dd9 (patch) | |
| tree | 31d55b1e4b24fb26b2927ae7f1d86364345d90dc /storageinfo.go | |
| parent | 5b883de7b99fc15d92646a7c965fdf28f1946343 (diff) | |
switched to autogenpbv0.2.10
Diffstat (limited to 'storageinfo.go')
| -rw-r--r-- | storageinfo.go | 8 |
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} |
