[go-nuts] Re: Repo with multiple modules and vendoring in main module: how to avoid constant re-vendoring?

2019-08-08 Thread Igor Maznitsa
I am not sure that it is possible just out of the box, some guys use my maven plugin to work with multiple module projects because it makes some business in the area and uses maven repository to share sources. -- You received this message because you are

Re: [go-nuts] how to pass c array to golang efficiently

2019-08-08 Thread 'Bryan Mills' via golang-nuts
On Wednesday, August 7, 2019 at 4:21:03 AM UTC-4, Jan Mercl wrote: > > On Wed, Aug 7, 2019 at 3:17 AM hui zhang > > wrote: > > > //export Send > > func Send(confid string, len int, pcm *C.short) { > >//put c.short array to int16 slice/array efficiently , how ? > >// memcopy ? > > } >

[go-nuts] Re: What did you see at GopherCon 2019 (San Diego)?

2019-08-08 Thread JuciƊ Andrade
Very nice of yours, Akram. Thank you. -- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web

[go-nuts] TeamCity adds native Go support, allows for real-time reporting and history of Go tests

2019-08-08 Thread yegnau
TeamCity (the CI/CD server from JetBrains) has recently added support for Go: https://blog.jetbrains.com/teamcity/2019/08/building-go-programs-in-teamcity/ Support for Go is provided by TeamCity out of the box, there are no > external plugins required. TeamCity parses results of *go test* comma

[go-nuts] Re: Replace modules from command line

2019-08-08 Thread Peter Feichtinger
This would do pretty much exactly what I want. I'll be watching that, thanks. On Thursday, August 8, 2019 at 11:20:26 AM UTC+2, Elias Naur wrote: > > I don't think it's possible today. There is an issue for it: > https://github.com/golang/go/issues/26640 > > - elias > -- You received this mes

Re: [go-nuts] Split a empty string will get a one element array?

2019-08-08 Thread Marvin Renich
* Kurtis Rader [190807 18:43]: > Please don't respond to threads that are seven years old. Having said that > the behavior is reasonable and the behavior you and the O.P. expect is not > reasonable. Consider the following examples: > > result := strings.Split("abc", "") > result := strings.Split(

[go-nuts] Re: Replace modules from command line

2019-08-08 Thread Elias Naur
mandag den 5. august 2019 kl. 18.46.01 UTC+2 skrev Peter Feichtinger: > > Hi Go Nuts, > > I have a rather unusual use case and I'm hoping for some input. > > For testing purposes, I want to build a Go binary with different versions > of one of its dependencies. The only way I could think of was

[go-nuts] How to propagate multiple errors using the new fmt.Errorf wrapping

2019-08-08 Thread Alex
Hey. I am looking at the error wrapping of 1.13-beta at the moment to figure out best practices on error handling with this new capability. My question now is: If I want to propagate errors up some layers I don't know how to wrap additional errors on the path up. as an example: var ( Layer1Er

Re: [go-nuts] Replace modules from command line

2019-08-08 Thread Peter Feichtinger
Yeah I was expecting that would be necessary. Thanks for your input anyway. On Tuesday, August 6, 2019 at 7:11:04 PM UTC+2, Paul Jolly wrote: > > You won't be able to avoid editing the go.mod - it's the starting point > for all module resolution. > > How about taking a copy of the original go.{mo