Re: [go-nuts] What happens if the hash retrieved from sumdb and the one in go.sum file of the main module are different?

2019-09-11 Thread Ian Lance Taylor
The go tool reports a checksum mismatch error. Ian -- 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

[go-nuts] How to Unmarshal diameter client different request to different struct at diamter server side

2019-09-11 Thread afriyie . abraham
Hi, Am developing a diameter server using go-diameter package that need to perform EAP-AKA authentication. In the DER/DEA process, the client will be sending multiple request to the server, that is first the client sends an identity request to the server, the server respond with RAND,

[go-nuts] Marshaling structs to command line arguments

2019-09-11 Thread James Pettyjohn
Hi, While not the most likely of scenarios, I'm having to write a lot of integration around existing command line tools and want a better way then passing strings/constants around. While there are ample choices to go from command line arguments to structs etc, I'm not finding anything besides

[go-nuts] What happens if the hash retrieved from sumdb and the one in go.sum file of the main module are different?

2019-09-11 Thread T L
. -- 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 visit

Re: [go-nuts] Re: x/mobile: Samples for reverse binding in gomobile

2019-09-11 Thread Elias Naur
On Wed Sep 11, 2019 at 7:20 AM Jay Sharma wrote: > > > *Now, I want to create object of this class in go and want to call method > using that object from go. * > > I was checking your proposal (https://github.com/golang/go/issues/16876) > but could not able to make it. :( The proposal

[go-nuts] How to handle diamter client different request with one handle at diamter server side

2019-09-11 Thread afriyie . abraham
Hi, Am developing a diameter server using go-diameter package that need to perform EAP-AKA authentication. In the DER/DEA process, the client will be sending multiple request to the server, that is first the client sends an identity request to the server, the server respond with RAND, MAC,

Re: [go-nuts] Re: x/mobile: Samples for reverse binding in gomobile

2019-09-11 Thread Jay Sharma
*Thank you very much Elias : with your suggestion it is working fine.* Just last query: Currently, I called *static method* of my java class: package reversebinding; public class RBinding { public static String getStringFromJava() { return "Hello from java !!"; } }

[go-nuts] Re: html/template escaping problem

2019-09-11 Thread Jens-Uwe Mager
I finally got a workaround going, and that is to not have any moustache template in the javascript at all. By putting the {{area}} template in an data-xxx attribute of the element I can access this from the javascript. On Monday, September 9, 2019 at 1:53:34 PM UTC+2, Jens-Uwe Mager wrote: > >

Re: [go-nuts] Re: Running golang compiled binary on QNX

2019-09-11 Thread Ian Lance Taylor
On Wed, Sep 11, 2019 at 6:18 AM wrote: > > Right. I could have my question better. The real question is whether there is > any hope of QNX support in go. It's no surprise that a GOARCH=386 GOOS=linux > binary would not work. I don't see anything that would make it impossible to port Go to

Re: [go-nuts] Re: Running golang compiled binary on QNX

2019-09-11 Thread scabooz
Right. I could have my question better. The real question is whether there is any hope of QNX support in go. It's no surprise that a GOARCH=386 GOOS=linux binary would not work. On Monday, September 9, 2019 at 10:30:06 PM UTC-4, Adrian Petrescu wrote: > > On 09/09 11:30AM, sca...@gmail.com

Re: [go-nuts] nested or sub template by variable

2019-09-11 Thread dunlapg
On Tuesday, April 17, 2012 at 2:52:03 PM UTC+1, Rob 'Commander' Pike wrote: > > You can't, for safety reasons in html/template. The text/template > package has the same property so the packages are consistent. > > The examples in the documentation for text/template show how the same > effect can

Re: [go-nuts] Re: x/mobile: Samples for reverse binding in gomobile

2019-09-11 Thread Elias Naur
On Wed Sep 11, 2019 at 3:51 AM Jay Sharma wrote: > > > I have one doubt when we build using gomobile in that I am giving the > classpath to my .class java file. > *Will it be included in .aar or I have to include that .class file along > with .aar in my android application. * > The class

Re: [go-nuts] Re: x/mobile: Samples for reverse binding in gomobile

2019-09-11 Thread Jay Sharma
Hi Elias, The provided logs: 2019-09-10 16:36:54.199 9400-9430/com.sample E/GoLog: 2019/09/10 11:06:54 test.go:134: testFunction [Test] 2019-09-10 16:36:54.199 9400-9430/com.sample E/GoLog: 2019/09/10 11:06:54 test.go:136: [Test] Now going to call a java system function