Re: [go-nuts] go get can not download git submodule

2018-12-24 Thread Justin Israel
On Tue, Dec 25, 2018, 4:17 PM xiang liu wrote: > Thanks a lot! > > It seems go 1.11 does not support git submodule. go 1.10 works fine. > Oh, I wonder if they ended up getting rid of it as alluded to in that issue. Or if it's hidden behind a mode controlled by an env var. > Justin Israel

Re: [go-nuts] go get can not download git submodule

2018-12-24 Thread xiang liu
Thanks a lot! It seems go 1.11 does not support git submodule. go 1.10 works fine. Justin Israel 于2018年12月25日周二 上午2:47写道: > > > On Tue, Dec 25, 2018, 5:59 AM xiang liu wrote: > >> Hi: >> >> Now i have go package have another c++ submodule, >> https://github.com/notedit/media-server-go >>

[go-nuts] runtime.readmemstats -> buckhash_sys increase

2018-12-24 Thread 'Kevin Malachowski' via golang-nuts
Is your application leaking memory allocated in C? (Are you using cgo-related packages at all?) -- 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, send an email to

Re: [go-nuts] reflect Kind method

2018-12-24 Thread Mark Volkmann
Maybe it would be good to add an indication of just the basic type of each type in the index. For example, is the type a struct, interface, or something else? --- R. Mark Volkmann Object Computing, Inc. > On Dec 24, 2018, at 12:35 PM, Ian Lance Taylor wrote: > > On Mon, Dec 24, 2018 at 10:24

Re: [go-nuts] go get can not download git submodule

2018-12-24 Thread Justin Israel
On Tue, Dec 25, 2018, 5:59 AM xiang liu wrote: > Hi: > > Now i have go package have another c++ submodule, > https://github.com/notedit/media-server-go > > I wan to make it go gettable, but go get can not check the c++ submodule. > > Any way to fix this? > I see this discussed here:

Re: [go-nuts] reflect Kind method

2018-12-24 Thread Ian Lance Taylor
On Mon, Dec 24, 2018 at 10:24 AM Mark Volkmann wrote: > > I guess my question boils down to what should be displayed in the index > section under a type. Currently it seems the answer is ... > If the type is a struct or interface, list all the package functions that > return that type. > If the

Re: [go-nuts] reflect Kind method

2018-12-24 Thread Mark Volkmann
I guess my question boils down to what should be displayed in the index section under a type. Currently it seems the answer is ... If the type is a struct or interface, list all the package functions that return that type. If the type is a struct, list all its methods. If the type is a struct, do

Re: [go-nuts] reflect Kind method

2018-12-24 Thread Ian Lance Taylor
On Mon, Dec 24, 2018 at 9:29 AM Mark Volkmann wrote: > > IIUC, Kind is a method of both Type and Value. But the index near the top of > https://golang.org/pkg/reflect/ only shows it as a method of Value. If you > click on "type Type" in the index, it scrolls to the description of that >

[go-nuts] reflect Kind method

2018-12-24 Thread Mark Volkmann
IIUC, Kind is a method of both Type and Value. But the index near the top of https://golang.org/pkg/reflect/ only shows it as a method of Value. If you click on "type Type" in the index, it scrolls to the description of that interface which includes the Kind method. Is it wrong that the index

Re: [go-nuts] Generics: an unwelcome conclusion and a proposal

2018-12-24 Thread shelby
Eric you ostensibly forgot about the type of a callback function whose body varies at runtime and thus is statically unknowable. This is why the type of the function has to be typed for the contracts it requires. On Wednesday, October 17, 2018 at 4:37:01 AM UTC+8, Eric Raymond wrote: > > > > On

[go-nuts] go get can not download git submodule

2018-12-24 Thread xiang liu
Hi: Now i have go package have another c++ submodule, https://github.com/notedit/media-server-go I wan to make it go gettable, but go get can not check the c++ submodule. Any way to fix this? Thanks. -- You received this message because you are subscribed to the Google Groups

[go-nuts] runtime.readmemstats -> buckhash_sys increase

2018-12-24 Thread igall nodelman
Hi I am investigating a memory leak: 1. pprof show no leak( inuse alloc is not increasing) 2. resident(RES) memory is no increasing 3. virtual memory is slowly increasing 4. all readmemstats() parameters expect of virtual memory and buckhash_sys are not increasing 5. the total increase size of

Re: [go-nuts] *Conn.Write() SSL doesn't detect closed socket/connection

2018-12-24 Thread Jakob Borg
This is the way of TCP sockets. “Write” means to put the bytes into the kernel send buffer and is essentially nonblocking within that buffer size. Connection errors are more often detected on the next read operation, which naturally blocks waiting for the next network event / packet. //jb On

[go-nuts] *Conn.Write() SSL doesn't detect closed socket/connection

2018-12-24 Thread eran . yasso
Hi, I am experiencing an issue in *Conn.Write() which is not detecting that the connection was closed in the server. Below you can find demo SSL server and client which hosted on same go project. The problem is that the following line doesn't detect closed socket/connection:

[go-nuts] [ANN] Merry Christmas! laitos v3.1 - your personal web infrastructure just got an.. SNMP server?!

2018-12-24 Thread Houzuo Guo
Merry Christmas and happy new year! laitos is your personal web infrastructure server - host a home page, receive Emails, and block ads/malicious sites via its DNS server. And to satisfy the geekiest nature inside of you, the program grants access to the Internet (news, mail boxes,