This file is indexed.

/usr/share/gocode/src/github.com/mailru/easyjson/tests/omitempty.go is in golang-github-mailru-easyjson-dev 0.0~git20161103.0.159cdb8-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
package tests

//easyjson:json
type OmitEmptyDefault struct {
	Field string
	Str   string
	Str1  string `json:"s,!omitempty"`
	Str2  string `json:",!omitempty"`
}

var omitEmptyDefaultValue = OmitEmptyDefault{Field: "test"}
var omitEmptyDefaultString = `{"Field":"test","s":"","Str2":""}`