fix: reformatted backing array and slice header exercises

This commit is contained in:
Inanc Gumus
2019-02-08 14:10:56 +03:00
parent 04c5e2bec7
commit 23afa88d08
4 changed files with 24 additions and 20 deletions

View File

@ -57,6 +57,6 @@ func passSlice(items []int) {
func report(msg string) {
var m runtime.MemStats
runtime.ReadMemStats(&m)
fmt.Printf("<<< %s >>>\n", msg)
fmt.Printf("[%s]\n", msg)
fmt.Printf("\t> Memory Usage: %v KB\n", m.Alloc/1024)
}