Re: [go-nuts] Fatal error : on running go vet cmd

2022-01-12 Thread Tejas Gowda
I am using linux enviorment, installed go 1.6 On Thursday, January 13, 2022 at 2:29:00 AM UTC+5:30 Ian Lance Taylor wrote: > On Wed, Jan 12, 2022 at 10:58 AM Tejas Gowda wrote: > > > > # runtime/cgo > > _cgo_export.c:3:20: fatal error: stdlib.h: No such file or d

[go-nuts] Fatal error : on running go vet cmd

2022-01-12 Thread Tejas Gowda
# runtime/cgo _cgo_export.c:3:20: fatal error: stdlib.h: No such file or directory #include ^ compilation terminated. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails f

[go-nuts] Calling OS X dylib from Go

2017-07-04 Thread Tejas Manohar
Does anyone have examples or tips on calling methods from OS X dylib's (dynamic, shared library) from Go? I have the C header file, too, but no source code. Is it possible to call methods from the header file directly in Go (alike a C program that `#include libproc.h`) or should I create a C pr

Re: [go-nuts] What's the recommended way to determine if a type.Type is exported?

2017-04-24 Thread Tejas Manohar
t; signature.Params().At(0).Type() // is this exported? >> >> And, for some context, all of this is from walking go/ast >> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe fro

[go-nuts] Is go/format always expected to output valid Go?

2017-04-16 Thread tejas
It seems the ast package models method receivers as an array, though methods with multiple receivers don't compile. This has a variety of implications-- for example, it makes it possible for go/format to produce invalid code (example ). Is this acceptable?

Re: [go-nuts] Golang timers guarantees

2017-04-05 Thread Tejas Manohar
untime.timers. If you have a very large number of tickers, then I think the bottleneck would be the runtime managing the heap of timers that keeps the next one to fire on the top. Those are just my guesses, though, I haven't tried to verify them. Ian -- Best regards, Tejas Manohar -- You

[go-nuts] Golang timers guarantees

2017-04-05 Thread tejas
What guarantees do Golang's timers (e.g. time.After, time.Sleep) provide? If you're using *lots* of timers concurrently, what (if anything) could cause them to misbehave (e.g. delay)? What are they bottlenecked by? Just curious. Thanks! -- You received this message because you are subscribed t