Re: [go-nuts] weird "index out of range" in strconv.formatBits

2023-09-01 Thread metronome
We waited for two weeks, but the panic never resurfaced, will provide further updates if it reoccurs or as soon as we have more information. Thanks Dan and Kurtis for looking into it. On Friday, August 18, 2023 at 3:18:10 PM UTC+8 Dan Kortschak wrote: > On Thu, 2023-08-17 at 23:32 -0700,

Re: [go-nuts] Re: From which programming language did the idea for Golang's interface mechanism design originate?

2023-09-01 Thread 'Thomas Bushnell BSG' via golang-nuts
Another precedent for the idea was the use of a "behavior" to specify the methods which a Smalltalk object can receive. Basically, it was realized that the question of the class hierarchy for an object was an implementation concern which the users of an object should not care about. So early

[go-nuts] How to register a new HTTP handler to an HTTP proxy

2023-09-01 Thread Van Fury
Hi, I have a working proxy and would like to add register additional handler that will receive HTTP request from an HTTP client and return response. How can register this new handler(FooHandler) to the proxy? func main() { logger.Log.Infof("Server Name: [%s]", description) done :=

[go-nuts] Re: go build of a *_unix.go file still used under windows ?

2023-09-01 Thread Peter Galbavy
After your initial reply and carefully re-reading I also agree that's what it means. It is however, IMHO, not clear on first reading and there is an implication by omission that "unix" could be considered a valid "GOOS" value. Now I know, I know. The next first-time reader, perhaps not so much.