This file is indexed.

/usr/share/gocode/src/github.com/juju/errors/export_test.go is in golang-github-juju-errors-dev 0.0~git20170703.0.c7d06af-4.

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
// Copyright 2013, 2014 Canonical Ltd.
// Licensed under the LGPLv3, see LICENCE file for details.

package errors

// Since variables are declared before the init block, in order to get the goPath
// we need to return it rather than just reference it.
func GoPath() string {
	return goPath
}

var TrimGoPath = trimGoPath