fix: reformatted backing array and slice header exercises
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user