[go-nuts] Help getting XML-RPC and reflection based code to work

2018-11-09 Thread David Luu
I thought I posted this before, but maybe I didn't, or it got removed. A cross-post from Golang Bridge forum Was wondering if go users can help me fix up and improve the current code I have and look into 2 issues I filed against the library I use. Any help/insights appreciated. https://github.

Re: [go-nuts] go modules and gocode

2018-11-09 Thread Tyler Compton
My understanding is the mdempsky branch is not expected to work with Go modules. This fork apparently will: https://github.com/stamblerre/gocode That said, I haven't personally had any luck with that fork either. I would love to hear from someone who's had success with gocode/vim-go/modules. On F

Re: [go-nuts] Why fmt.Print() debug statements aren't showing up in dev_appserver.py logs?

2018-11-09 Thread Tyler Compton
App Engine's logging library requires a context object as its first argument, so I'm not sure which log package you're using right now. The correct way to use the App Engine logging library is to create a context somewhere early on in the request's life-cycle and use it as the first argument to the

Re: [go-nuts] Why fmt.Print() debug statements aren't showing up in dev_appserver.py logs?

2018-11-09 Thread Bryan
I replaced the fmt.Print statement with: log.Infof(" handleMain() called") The local server still serves the page correctly but the log Info is not showing up in the dev_appserver.py logs in Terminal. On Thursday, November 8, 2018 at 5:57:06 PM UTC-5, Tyler Compton wrote:

[go-nuts] go modules and gocode

2018-11-09 Thread Keith Brown
Using vim-go Has anyone gotten gocode (https://github.com/mdempsky/gocode) to work with golang modules? In my GOPATH directory, i see gopath pkg mod cache download github.com But for whatever reason, its not autocompletting the modules. Is there anything else I sho

Re: [go-nuts] require statements in multi module repositories

2018-11-09 Thread 'Jean de Klerk' via golang-nuts
Thanks a million Paul. Yes, they were resolved (for posterity, in https://github.com/golang/go/issues/28685). On Fri, Nov 9, 2018 at 10:11 AM, Paul Jolly wrote: > > I've played around with go modules in a multi module repository, and I'm > running into oddities. The main confusion is that I have

Re: [go-nuts] require statements in multi module repositories

2018-11-09 Thread Paul Jolly
> I've played around with go modules in a multi module repository, and I'm > running into oddities. The main confusion is that I have this idea that any > package (and its subpackages) that has a go.mod file is a distinct, carved > out module that has no relation to its siblings and parent, even

Re: [go-nuts] goimports performance degrades in go module

2018-11-09 Thread Joseph Lorenzini
Hi Ian/Russ, I should have clarified that I was doing goimports -l on a directory of go packages. I know that's atypical. Its definitely not 30 seconds on a single file. It is however slower on a single file. Here are the numbers for a single file using the official goimports tool: goimports wit

Re: [go-nuts] front-end post a body, back-end use gin.Context BindJSON but fail

2018-11-09 Thread Burak Serdar
On Fri, Nov 9, 2018 at 6:35 AM wrote: > > front-end info > //body struct > type Bucket struct { >Name string `json:"name"` >KeyId string `json:"key_id"` >KeySecret string `json:"key_secret"` >Header*Header `json:"header"` >Property int `json:"property"` > }

Re: [go-nuts] Re: Reading Windows event logs

2018-11-09 Thread Samet Sazak
By the way, I found this repository which is solved my problem : https://github.com/0xrawsec/golang-evtx Regards, On 7 Nov 2018 Wed at 19:18 Samet Sazak wrote: > Thank you so much, I will ask to him. > > On 7 Nov 2018 Wed at 18:57 Robert Engels wrote: > >> I was referring to it because it lay