This file is indexed.

/usr/share/gocode/src/github.com/kr/pretty/example_test.go is in golang-github-kr-pretty-dev 0.0~git20160325.0.add1dbc-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
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},
	// }
}