mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
a nagging inconsistency: capitalization of
HTML vs Html, URL vs Url, HTTP vs Http, current source is 6:1 in favor of the former, so change instances of the latter. R=r CC=go-dev http://go/go-review/1024026
This commit is contained in:
parent
830813f019
commit
ed6eb5b577
13 changed files with 97 additions and 97 deletions
|
|
@ -133,7 +133,7 @@ func usage() {
|
|||
|
||||
func loggingHandler(h http.Handler) http.Handler {
|
||||
return http.HandlerFunc(func(c *http.Conn, req *http.Request) {
|
||||
log.Stderrf("%s\t%s", c.RemoteAddr, req.Url);
|
||||
log.Stderrf("%s\t%s", c.RemoteAddr, req.URL);
|
||||
h.ServeHTTP(c, req);
|
||||
});
|
||||
}
|
||||
|
|
@ -162,7 +162,7 @@ func main() {
|
|||
readTemplates();
|
||||
|
||||
if *httpaddr != "" {
|
||||
// Http server mode.
|
||||
// HTTP server mode.
|
||||
var handler http.Handler = http.DefaultServeMux;
|
||||
if *verbose {
|
||||
log.Stderrf("Go Documentation Server\n");
|
||||
|
|
@ -218,8 +218,8 @@ func main() {
|
|||
|
||||
// Command line mode.
|
||||
if *html {
|
||||
packageText = packageHtml;
|
||||
parseerrorText = parseerrorHtml;
|
||||
packageText = packageHTML;
|
||||
parseerrorText = parseerrorHTML;
|
||||
}
|
||||
|
||||
info := pkgHandler.getPageInfo(flag.Arg(0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue