[go-nuts] Parsing OpenSSH ed25519 private keys

2017-11-15 Thread Chandru
Can x/crypto/ssh parse OpenSSH's ed25519 private key files? ParseRawPrivateKeyWithPassphrase returns "ssh: cannot decode encrypted private keys" as error. -- Chandra Sekar.S -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from

[go-nuts] Remove GOPATH from binary

2017-09-14 Thread Chandru
How do I remove the actual value of GOPATH from executable binary? I tried the following command, but my home directory continued to appear when I ran strings on the binary. go install -gcflags -trimpath=$GOPATH -asmflags -trimpath=$GOPATH -- Chandra Sekar.S -- You received this message

Re: [go-nuts] goimports flag parity with gofmt

2017-06-12 Thread Chandru
The documentation of goimports[1] says, It's a drop-in replacement for your editor's gofmt-on-save hook. "It has the same command-line interface as gofmt" and formats your code in the same way. (quotes are mine) I think this documentation needs fixing too? [1]:

Re: [go-nuts] Re: Isn't the use of Context in db/sql non-diomatic?

2016-12-08 Thread Chandru
Bump -- Chandra Sekar.S On Wed, Dec 7, 2016 at 10:24 AM, Chandru <chandru...@gmail.com> wrote: > I can understand db/sql using Context for cancellation. It is the optional > arguments to BeginContext like IsolationLevel and read-only flag, which are > not request-spec

Re: [go-nuts] Re: Isn't the use of Context in db/sql non-diomatic?

2016-12-06 Thread Chandru
I can understand db/sql using Context for cancellation. It is the optional arguments to BeginContext like IsolationLevel and read-only flag, which are not request-specific, that seem to contradict context's documentation. -- Chandra Sekar.S On Tue, Dec 6, 2016 at 9:50 PM,

[go-nuts] Is ROC part of 1.8?

2016-10-27 Thread Chandru
Is the request-oriented GC slated to be included in the 1.8 release? -- Chandra Sekar.S -- 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