Re: [go-nuts] go build reports relocation target not defined for ABI0 (but is defined for ABIInternal)

2019-09-16 Thread Zhang Chao
Hello! OK, thank you. Actually I just do some exercises for learning Go assembly. On Tuesday, September 10, 2019 at 12:31:08 PM UTC+8, Ian Lance Taylor wrote: > > On Mon, Sep 9, 2019 at 7:57 PM Zhang Chao > > wrote: > > > > Thanks for your interpretation. So is there any workaround? > >

[go-nuts] Re: VS + GO plugin questions

2019-09-16 Thread JuciÊ Andrade
The last time I installed VSCode I had to set GOPATH environment variable, otherwise the Go plugin wasn't able to find source code for std library. I don't know if that situation improved in recent releases. -- You received this message because you are subscribed to the Google Groups

Re: [go-nuts] Where are the GO compiler sources?

2019-09-16 Thread andrey mirtchovski
'x' is for experimental. things that have a chance to get into the standard library but are not finished yet. the major differentiator is that they're not bound by the Go 1 guarantee that nothing changes (i.e., they can change). you should be able to find the compiler in

Re: [go-nuts] Re: Package-to-package bindings and package-scope variables

2019-09-16 Thread clement auger
hi again, This looks odd use case because when i move a package around, with all the great tooling provided by the contributors, import paths are updated automatically after a save. It fails only if the package name is ambiguous because it exists twice with different package paths within the

[go-nuts] Where are the GO compiler sources?

2019-09-16 Thread joe mcguckin
Also, what does the X (e.g. /X/) in the path of various runtime libraries mean? Thanks, Joe -- 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

[go-nuts] Re: VS + GO plugin questions

2019-09-16 Thread joe mcguckin
Why wouldn't it have an implementation? Does one have to set a path variable (or similar) to allow VS to find all the source and add-on packages? Joe On Monday, September 16, 2019 at 11:31:14 AM UTC-7, joe mcguckin wrote: > > I installed this on my Mac. For M$, it actually looks pretty nice. >

[go-nuts] VS + GO plugin questions

2019-09-16 Thread joe mcguckin
I installed this on my Mac. For M$, it actually looks pretty nice. I had to remap the F12 key, is this normal? >From the docs, SHIFT+COMMAND+F12 is supposed to do something special. All I get is a popup that says "Implementation not found" or it brings up a window about a completely

Re: [go-nuts] Re: Package-to-package bindings and package-scope variables

2019-09-16 Thread Michel Levieux
Hi Clément, thank you for your answer, Your links are pretty interesting, though maybe I was unclear stating my issue because that is not what I was looking for. I also think such a tool should be used with parsimony, the goal being that over time, people stop using the old package's location and

[go-nuts] Re: Package-to-package bindings and package-scope variables

2019-09-16 Thread clement auger
hi, it seems you need https://godoc.org/golang.org/x/tools/go/loader https://godoc.org/go/types then select desired package, get its top scope, loop over public names, generate aliases. but i m unsure it is such a good idea to keep those shallow copies around, at least for the case you have

[go-nuts] Package-to-package bindings and package-scope variables

2019-09-16 Thread Michel Levieux
Hi all, I'm developing a command that is a utility to move packages around while keeping compatibility with softwares that import those packages. Maybe there are commands and utilities that already do approximately the same thing, but I'm mainly doing this to learn to use the go/ast package and

[go-nuts] Re: GAE - Telegram bot stops working after some period of time

2019-09-16 Thread Sean Liao
read the docs: https://core.telegram.org/bots/webhooks you will need: - valid tls certs - maybe open the non default ports in gcp networking/firewall or use the standard 443 On Sunday, September 15, 2019 at 9:42:04 PM UTC+2, Andreas wrote: > > I've already tried it but in this case