[go-nuts] Re: Looking for New Maintainers: The Gorilla Toolkit

2021-12-12 Thread Brian Candler
> _no_ maintainer is better than an adversarial maintainer! That can be read two ways, and I read it the wrong way at first :-) -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, sen

Re: [go-nuts] question about stdin

2021-12-12 Thread Jan Mercl
On Sun, Dec 12, 2021 at 5:15 PM Денис Мухортов wrote: > It's a little unclear how os.stdin actually works. Why, if you just run the > program, is data from stdin constantly being listened to? > For example: > func main() { > sc := bufio.NewScanner(os.Stdin) > for sc.Scan() { > tx

Re: [go-nuts] question about stdin

2021-12-12 Thread 'Axel Wagner' via golang-nuts
os.Stdin is whatever the file descriptor 0 is being connected to by the OS. Depending on the type of file descriptor, Read will behave differently. If you call a program on the command line, the shell connects it to its controlling terminal, which is usually line-buffered and a read from it will bl

[go-nuts] Looking for New Maintainers: The Gorilla Toolkit

2021-12-12 Thread Matt Silverlock
The Gorilla Toolkit is looking for a new maintainer (or maintainers, plural). As the last standing maintainer of the project, I no longer have time to fully dedicate to maintaining the libraries here, and The major libraries - *mux *(https://github.com/gorilla/mux), *schema *(https://github.co

[go-nuts] question about stdin

2021-12-12 Thread Денис Мухортов
It's a little unclear how os.stdin actually works. Why, if you just run the program, is data from stdin constantly being listened to? For example: func main() { sc := bufio.NewScanner(os.Stdin) for sc.Scan() { txt := sc.Text() fmt.Printf("echo: %s\n", txt) } } But if y

[go-nuts] Re: Golang: http2 client immediately close connections via proxy while idleConn was enabled

2021-12-12 Thread zzk code
Finally, I figure it out and everything is working as expected, so it's nothing to do with net/http2. For more details, please refer to this issue: https://github.com/golang/go/issues/5. And it's a nice issue number indeed :>. 在2021年12月7日星期二 UTC+8 18:33:34 写道: > nice issue number :) > > L