[go-nuts] go build -o option not creating a standalone executable, pls help

2018-02-25 Thread Raju
d just move the file to another container and run it there without any Go SDK. Thanks Raju -- 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

Re: [go-nuts] go build -o option not creating a standalone executable, pls help

2018-02-25 Thread Raju
Thanks alot, Aram. That was it. I missed the cross-compiling part. Regards Raju On Sunday, February 25, 2018 at 2:59:36 PM UTC-8, Aram Hăvărneanu wrote: > > I can guess that you are building a mac binary and then try to run it on > Linux. > > You need to cross-compile your b

[go-nuts] Anyway to print the exact cql query being executed against db

2018-04-10 Thread Raju
in Cassandra, I am getting records returned. I have a feeling the query I am creating is somehow incorrect. I would like to debug Thanks Raju // list all tweets iter := session.Query(`SELECT id, text FROM tweet WHERE timeline = ?`, "me").Iter() for

[go-nuts] Re: Anyway to print the exact cql query being executed against db

2018-04-10 Thread Raju
By the way, I am using gocql package - https://github.com/gocql/gocql On Tuesday, April 10, 2018 at 9:39:23 PM UTC-7, Raju wrote: > > Hi, > > Assuming my query using an iterator looks like this. Is there any way to > print the exact cql query that is finally executed on Cass

[go-nuts] gocql date field conversion issue

2018-04-11 Thread Raju
r Error closing iterator. Error:can not marshal time.Time into date Is there any way to address this conversion from string/Time in golang to date format in cql/gocql? Thanks Raju -- You received this message because you are subscribed to the Google Groups "golang-nuts"

[go-nuts] Re: Anyway to print the exact cql query being executed against db

2018-04-11 Thread Raju
Thanks, Lee. I will give it a try -Raju On Wednesday, April 11, 2018 at 8:39:57 AM UTC-7, Lee Painton wrote: > > I have not tried this yet, but if you set up a > https://godoc.org/github.com/gocql/gocql#QueryObserver on your session I > believe you can get exhaustive metri

Re: [go-nuts] gocql date field conversion issue

2018-04-11 Thread Raju
there. Still I dont understand how/why it is falling into the last code block // TODO(tux21b): add the remaining types return nil, fmt.Errorf("can not marshal %T into %s", value, info) Regards Raju On Wednesday, April 11, 2018 at 12:51:33 AM UTC-7, Henrik Johansson wrote: > &g