commit | 91651c1844a5c8ef02bd907aa830eb8703c098b3 | [log] [tgz] |
---|---|---|
author | Péter Surányi <speter.go1@gmail.com> | Wed Nov 07 04:59:21 2012 +0800 |
committer | Shenghou Ma <minux.ma@gmail.com> | Wed Nov 07 04:59:21 2012 +0800 |
tree | 24f5a169bf0b87d0a36f8a7d0e700d5fbb18df40 | |
parent | d098bffd8488df939221bc487cf6f2f124b66e1e [diff] |
cmd/godoc: initialize filesystem and metadata for -url Unlike when using -http, godoc -url didn't initialize the "filesystem" and metadata that are used when generating responses. This CL adds this initialization, so that -url provides the same results as an HTTP request when using -http. Fixes #4335. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6817075