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
doc/articles/wiki: move _ warning slightly higher at one point #22617
Comments
In my opinion no change is needed here, since it is clearly mentioned in the text:
There is even a special section in the very same wiki document dedicated specifically to this issue (Handling non-existent pages) |
Agree. May be we can change this text |
In the text:
Let's move the final ("Again...") paragraph above the first two. |
The hint is ok, but the result of the Another idea to reduce the risk of problems here: The first example (in "Data Structures") does create a "TestPage.txt", but the webserver example discussed here expects "test.txt". Why not just use the same name in both examples. Doing so would create the test file needed for part 2 in part 1. |
Change https://golang.org/cl/87375 mentions this issue: |
Currently working myself through https://golang.org/doc/articles/wiki/ and got stuck at the first HTTP server example. It doesn't have any error handling but easily runs into a bad Go panic
2017/11/07 20:08:24 http: panic serving 127.0.0.1:48718: runtime error: invalid memory address or nil pointer dereference
Took me some time to find out that I was missing the test.txt file. Created a solution comment before noticing that pull requests to are not allowed but don't want to go through the full contributor process right now just to add few lines to the tutorial page.
You may copy from my commit or write something else, but there should be a hint for others running into the same problem:
sewi-cpan@c47c017
The text was updated successfully, but these errors were encountered: