package
module
Version:
v0.0.0-...-5c7e73a
Opens a new window with list of versions in this module.
Published: Jul 8, 2015
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 24
Opens a new window with list of known importers.
README
¶
godump
Dumps information about a variable. Now godump is part of zhgo project.

Install
go get github.com/liudng/godump
Sample code
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
Documentation
¶
Print to standard out the value that is passed as the argument with indentation.
Pointers are dereferenced.
func Sdump(v interface{}) string
Return the value that is passed as the argument with indentation.
Pointers are dereferenced.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.