Dumps information about a variable. Now godump is part of zhgo project.
go get github.com/liudng/godump
package main
import (
"github.com/liudng/godump"
)
func main() {
a := make(map[string]int64)
a["A"] = 1
a["B"] = 2
godump.Dump(a)
}
Then Print:
(map[string]int64)
A(int64) 1
B(int64) 2