gopl.io
gopl.io copied to clipboard
Example programs from "The Go Programming Language"
Please take it in. Thank you. ``` % go doc time.Duration package time // import "time" type Duration int64 A Duration represents the elapsed time between two instants as an...
This code was confusing because it sets `err` even when `closeErr` is `nil`. The PR suggests a modification to clarify the behavior. Alternatively, perhaps adding a comment would be sufficient.
If you accept this patch and add continuous integration (CI) to your repo: * It will NOT spoil or compromise your examples; * Two innocuous files are being added; *...
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20210929193557-e81a3d93ecf6 to 0.7.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Replace go get with go install in readme. I just started going thorugh the book and examples, and ran into some issues to I though to update the docs.
changing ioutil to io as io.ioutil is deprecated in Go1.16