Skip to content

wingyplus/dump.go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dump.go Version 0.1

this project is fork repository from googlecode

  • dump, an utility to dump Go variables, similar to PHP's var_dump

Example

dump.Dump(&[][]int{[]int{1, 2, 3}, []int{1, 2, 3}, []int{1, 2, 3}})

Outputs:

&[][]int (len=3) {
  []int (len=3) {
    (int) 1,
    (int) 2,
    (int) 3
  },
  <[]int []int>,
  <[]int []int>
}

Installation

Follow this command:

$ make
$ make install

About

dump type of data (fork project from googlecode)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages