Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there is a bug in the last program "A Web Server" in document "Effective Go" #2503

Closed
gopherbot opened this issue Nov 28, 2011 · 1 comment
Closed

Comments

@gopherbot
Copy link
Contributor

by sas.198708:

Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull", "hg update default", rebuild, and
retry
what you did to
reproduce the problem.  Thanks.

What steps will reproduce the problem?
1.In the program "A Web Server", there is a piece code
"http.URLEscape", but it can not find one method named URLEscape in package
http

What is the expected output?


What do you see instead?


Which compiler are you using (5g, 6g, 8g, gccgo)?
8g

Which operating system are you using?
Arch Linux

Which revision are you using?  (hg identify)
8g version release.r56 9441

Please provide any additional information below.
@adg
Copy link
Contributor

adg commented Nov 28, 2011

Comment 1:

r56 is at least 6 months old. The current stable version of Go is r60.3.
The r60.3 docs include an updated version of Effective Go:
  http://golang.org/doc/effective_go.html#web_server
The docs from the latest weekly snapshot use the new template package:
  http://weekly.golang.org/doc/effective_go.html#web_server

Status changed to Invalid.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants