Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 519 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 519 Bytes

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