This file is indexed.

/usr/share/gocode/src/github.com/bugsnag/bugsnag-go/examples/revelapp/app/controllers/app.go is in golang-github-bugsnag-bugsnag-go-dev 1.0.5+dfsg-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
package controllers

import "github.com/revel/revel"
import "time"

type App struct {
	*revel.Controller
}

func (c App) Index() revel.Result {
	go func() {
		time.Sleep(5 * time.Second)
		panic("hello!")
	}()

	s := make([]string, 0)
	revel.INFO.Print(s[0])
	return c.Render()
}