gobyexample
gobyexample copied to clipboard
Go by Example
Huge fan of Go By Example, I've found it more helpful than the official go docs sometimes :) I was wondering if there were any plans to add a fuzzing...
The [W3C Validator service](https://validator.w3.org/) reveals that all examples of the gobyexample site contain invalid html: See e.g. the [go routines example](https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fgobyexample.com%2Fgoroutines) This PR fixes this. It also adds a `lang`...
`waitGroup` is already covered and it will be a good addition to cover [errgroup](https://pkg.go.dev/golang.org/x/sync/errgroup) examples. It is a batteries included version that provides error propagation and context cancellation along with...
First of all, thank you very much for providing so many examples. `Go1.18` released the generic, learned the example of the generic from the website of the repository, and found...
Would you be open to having a page on Condition Variables, i.e. `sync.Cond`? It could go right after the mutex page and I believe it'd be a great resource since...
There's this thing that I found recently, about returning named values (variables), for example: ```go import ( "fmt" "net/url" "path" ) // Instead of func URLGetFilename(rawURL string) (string, error) {...
This is a "catch-all" issue to discuss adding printout prefixes in some examples to make the code easier to correlate to output. gobyexample has a number of examples that produce...
Hi thanks for this super site. I am going through it line by line at the moment and wondered if it would be worth making an addition to the existing...
The `net` package has some good examples for writing socket servers, but it doesn't provide a full example for a robust echo server that reads all data from clients around...
I think it would be helpful if there'd be another sentence about how short variable declaration with `:=` is not possible outside of a function (including `main()`). https://gobyexample.com/variables https://go.dev/tour/basics/10