fixed formatting in main (only for test case but good learning opportunity)

This commit is contained in:
lin committed 2026-10-05 14:56:09 +02:00
1 parent ad2a44d36d
commit cbc9e4a0b4
1 file changed
+3 -3
+3 -3
View File
@@ -15,9 +15,9 @@ func main() {
const GB = 1024 * 1024 * 1024 const GB = 1024 * 1024 * 1024
log.Printf("Total memory: %dGB\n", memInfo.SystemMemory/GB) log.Printf("Total memory: %.2fGB\n", float64(memInfo.SystemMemory)/GB)
log.Printf("Available memory: %dGB\n", memInfo.AvailableMemory/GB) log.Printf("Available memory: %.2fGB\n", float64(memInfo.AvailableMemory)/GB)
log.Printf("Used memory: %dGB\n", memInfo.GetUsedMemory()/GB) log.Printf("Used memory: %.2fGB\n", float64(memInfo.GetUsedMemory())/GB)
cli.Listen() cli.Listen()
} }