/usr/share/gocode/src/github.com/mattn/ is in golang-github-mattn-go-isatty-dev 0.0.3-4.
This file is owned by root:root, with mode 0o755.
..
/usr/share/gocode/src/github.com/mattn/go-isatty/
/usr/share/gocode/src/github.com/mattn/go-isatty/doc.go
/usr/share/gocode/src/github.com/mattn/go-isatty/example_test.go
/usr/share/gocode/src/github.com/mattn/go-isatty/isatty_appengine.go
/usr/share/gocode/src/github.com/mattn/go-isatty/isatty_bsd.go
/usr/share/gocode/src/github.com/mattn/go-isatty/isatty_linux.go
/usr/share/gocode/src/github.com/mattn/go-isatty/isatty_linux_ppc64x.go
/usr/share/gocode/src/github.com/mattn/go-isatty/isatty_others.go
/usr/share/gocode/src/github.com/mattn/go-isatty/isatty_others_test.go
/usr/share/gocode/src/github.com/mattn/go-isatty/isatty_solaris.go
/usr/share/gocode/src/github.com/mattn/go-isatty/isatty_windows.go
/usr/share/gocode/src/github.com/mattn/go-isatty/isatty_windows_test.go