aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/kr/pretty/example_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/kr/pretty/example_test.go')
-rw-r--r--vendor/github.com/kr/pretty/example_test.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/vendor/github.com/kr/pretty/example_test.go b/vendor/github.com/kr/pretty/example_test.go
deleted file mode 100644
index ecf40f3..0000000
--- a/vendor/github.com/kr/pretty/example_test.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package pretty_test
-
-import (
- "fmt"
- "github.com/kr/pretty"
-)
-
-func Example() {
- type myType struct {
- a, b int
- }
- var x = []myType{{1, 2}, {3, 4}, {5, 6}}
- fmt.Printf("%# v", pretty.Formatter(x))
- // output:
- // []pretty_test.myType{
- // {a:1, b:2},
- // {a:3, b:4},
- // {a:5, b:6},
- // }
-}