[go-nuts] Re: Interesting public commentary on Go...

2019-05-28 Thread Slawomir Pryczek
Come on, open your minds a little. Once every 5 years it doesn't hurt to learn some new, better ways of doing things. And if someone wants to write java code untill he dies, then there's a great method of doing that called "stick to java" ;) That same kind of thinking already marginalized nodej

Re: [go-nuts] How does proxy.golang.org discover modules to index?

2019-05-28 Thread Hyang-Ah Hana Kim
Hi - The index includes the module/version that the proxy.golang.org ever successfully served. Go commands with GOPROXY=https://proxy.golang.org env var will fetch the specified module/version through the proxy and cause the proxy to learn about them. As long as the hosting sites are publicly acces

Re: [go-nuts] Aggressive Golang Garbage Collection Issues When Using cgo?

2019-05-28 Thread Wojciech S. Czarnecki
On Tue, 28 May 2019 10:41:03 -0700 (PDT) Steven Estes wrote: > ... anybody else reading this) have any other thoughts on what I can try > since GODEBUG="cgocheck=2" did not show anything? Nor (in summary) > has -msan, -race or the memory sanity debugging built into our C code. > We're kinda stu

Re: [go-nuts] Interesting public commentary on Go...

2019-05-28 Thread Matt Farina
Russ, I'm happy you updated the public docs on the proposal review process. It is much more clear now. Thanks. Thanks for publicly listing the people on the review process. It helps people have insights. And, thanks for listing Peter who is not on that GitHub team. He's a Googler I didn't real

Re: [go-nuts] Interesting public commentary on Go...

2019-05-28 Thread Russ Cox
Hi all, I spent a while trying to work out what I want to say about the general theme of Go and open source, but in the end I realized that my talk at Gophercon 2015 is a better articulation of what open source means for Go, and what Google's role is, than any email I can write in a few hours toda

Re: [go-nuts] Interesting public commentary on Go...

2019-05-28 Thread Russ Cox
On Tue, May 28, 2019 at 12:46 PM Matt Farina wrote: > Let me be a little more clear. In the docs (see the version prior to the > 2018 update at > https://github.com/golang/proposal/tree/a16a937b3b39c4c42f063842407c30c4c451b524#process) > there was no documentation on the proposal reviewers on the

Re: [go-nuts] Aggressive Golang Garbage Collection Issues When Using cgo?

2019-05-28 Thread Steven Estes
Ian, Did you (or anybody else reading this) have any other thoughts on what I can try since GODEBUG="cgocheck=2" did not show anything? Nor (in summary) has -msan, -race or the memory sanity debugging built into our C code. We're kinda stuck at this point. Steve -- You received this message

Re: [go-nuts] Interesting public commentary on Go...

2019-05-28 Thread Matt Farina
Thanks for the details, Russ. On Tuesday, May 28, 2019 at 11:53:09 AM UTC-4, Russ Cox wrote: > > On Mon, May 27, 2019 at 7:08 PM Matt Farina > wrote: > >> 1) when a company runs a project without much publicly documented process >> but does as they choose, isn't that a sign of a company run proj

[go-nuts] Re: Interesting public commentary on Go...

2019-05-28 Thread Amnon Baron Cohen
If it aint broke, don't fix it. On Thursday, 23 May 2019 14:18:25 UTC+1, lgo...@gmail.com wrote: > > https://utcc.utoronto.ca/~cks/space/blog/programming/GoIsGooglesLanguage > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from t

Re: [go-nuts] Interesting public commentary on Go...

2019-05-28 Thread Russ Cox
On Mon, May 27, 2019 at 7:08 PM Matt Farina wrote: > 1) when a company runs a project without much publicly documented process > but does as they choose, isn't that a sign of a company run project? > 2) The go team at Google has had processes that are not public. One > example is the proposal rev

Re: [go-nuts] Re: How to constant ?!

2019-05-28 Thread David Finkel
On Tue, May 28, 2019 at 11:04 AM Trig wrote: > Whoops... forgot to add the top line to the code syntax. I really wish > you could edit existing posts in this group. > > On Tuesday, May 28, 2019 at 10:03:05 AM UTC-5, Trig wrote: >> >> package main >> >> import "fmt" >> >> const ( >> ExposedC

[go-nuts] Re: Need help with VSCode, GOPATH and intellisense

2019-05-28 Thread Trig
I only got mine working 99% of the time with a language server configured in my settings: { "go.useLanguageServer": true, "go.languageServerExperimentalFeatures": { "diagnostics": true // for diagnostics as you type }, "[go]": { "editor.snippetSuggestions": "none", "editor.formatOnSave": true, "e

[go-nuts] Re: How to constant ?!

2019-05-28 Thread Trig
Whoops... forgot to add the top line to the code syntax. I really wish you could edit existing posts in this group. On Tuesday, May 28, 2019 at 10:03:05 AM UTC-5, Trig wrote: > > package main > > import "fmt" > > const ( > ExposedConstant = "1" // exposed outside of package > interna

[go-nuts] Re: How to constant ?!

2019-05-28 Thread Trig
package main import "fmt" const ( ExposedConstant = "1" // exposed outside of package internalConstant = "2" // for use anywhere in package only ) func main() { const functionConstant = "3" // usable anywhere in main func fmt.Println(ExposedConstant, internalConstant, fu

[go-nuts] Re: Test a Golang API on the web

2019-05-28 Thread Agniva De Sarker
I think the Heroku free tier is a great tool for this. On Monday, 27 May 2019 20:01:38 UTC+2, aimar wrote: > > Hi, > > My teacher has asked me to develop an API with Golang and test it on the > web instead of localhost. I was thinking of github.io but then I figured > out, it doesn't support se

Re: [go-nuts] How to constant ?!

2019-05-28 Thread David Riley
On May 28, 2019, at 8:12 AM, Ashutosh Baghel wrote: > > Hello folks, > > I want to declare a few variables constant. But I guess there is nothing as > "Constant" type in GoLang. How do I achieve this in GoLang? https://tour.golang.org/basics/15 -- You received this message because you are su

[go-nuts] How to constant ?!

2019-05-28 Thread Ashutosh Baghel
Hello folks, I want to declare a few variables constant. But I guess there is nothing as "Constant" type in GoLang. How do I achieve this in GoLang? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receivi

[go-nuts] Need help with VSCode, GOPATH and intellisense

2019-05-28 Thread Subramanian Sridharan
I cannot use intellisense and have my own source packages be recognized at the same time. Golang Server - ON Infer GOPATH from root - False GOPATH - Empty Result - I get details on hover. But my own source package imports fail. Golang Server - ON Infer GOPATH from root - True GOPATH - Empty Resu