]> Cypherpunks repositories - gostls13.git/commit
godoc: fix codewalk handler
authorFrancisco Souza <franciscossouza@gmail.com>
Mon, 12 Mar 2012 22:08:04 +0000 (09:08 +1100)
committerAndrew Gerrand <adg@golang.org>
Mon, 12 Mar 2012 22:08:04 +0000 (09:08 +1100)
commitbb6e685b7b7cc2a9ba7f81b98fa29bfdbf5cff7b
tree385ffa74891a2209aae75c165e2feeb88c7060e2
parent60b98d62087d582dafdda68c2af281c5e204fe03
godoc: fix codewalk handler

For URLs ending with /, the handler did not work, trying to append
".xml" to the path.

For instance, the "Share Memory by Communicating" returned the
following error:

        open /Users/francisco.souza/lib/go/doc/codewalk/sharemem/.xml: no such file or directory

R=adg, minux.ma
CC=golang-dev
https://golang.org/cl/5797065
src/cmd/godoc/codewalk.go