fixed formatting in main (only for test case but good learning opportunity)
This commit is contained in:
1 parent
ad2a44d36d
commit
cbc9e4a0b4
1 file changed
+3
-3
@@ -15,9 +15,9 @@ func main() {
|
||||
|
||||
const GB = 1024 * 1024 * 1024
|
||||
|
||||
log.Printf("Total memory: %dGB\n", memInfo.SystemMemory/GB)
|
||||
log.Printf("Available memory: %dGB\n", memInfo.AvailableMemory/GB)
|
||||
log.Printf("Used memory: %dGB\n", memInfo.GetUsedMemory()/GB)
|
||||
log.Printf("Total memory: %.2fGB\n", float64(memInfo.SystemMemory)/GB)
|
||||
log.Printf("Available memory: %.2fGB\n", float64(memInfo.AvailableMemory)/GB)
|
||||
log.Printf("Used memory: %.2fGB\n", float64(memInfo.GetUsedMemory())/GB)
|
||||
|
||||
cli.Listen()
|
||||
}
|
||||
Reference in new issue
Block a user