File godoc-path-locations.patch of Package go

diff --git a/src/cmd/godoc/godoc.go b/src/cmd/godoc/godoc.go
index 26b0b97..580d8f7 100644
--- a/src/cmd/godoc/godoc.go
+++ b/src/cmd/godoc/godoc.go
@@ -89,8 +89,19 @@ var (
 	notes = flag.String("notes", "BUG", "regular expression matching note markers to show")
 )
 
+const (
+	SUSE_DOC_DIR = "/usr/share/doc/packages/go-doc/"
+	SUSE_SRC_DIR = "/usr/share/go"
+	SUSE_CONTRIB_SRC_DIR = "/usr/share/go/contrib/src/pkg/"
+)
+
 func initHandlers() {
 	fileServer = http.FileServer(&httpFS{fs})
+
+	// OPENSUSE: Bind godoc & source location
+	fs.Bind("/doc", OS(SUSE_DOC_DIR), "/doc", bindReplace)
+	fs.Bind("/src", OS(SUSE_SRC_DIR), "/src", bindBefore)
+
 	cmdHandler = docServer{"/cmd/", "/src/cmd"}
 	pkgHandler = docServer{"/pkg/", "/src/pkg"}
 }
openSUSE Build Service is sponsored by