Re: [go-nuts] checking for connection error?

2016-08-03 Thread Michael Banzon
Hi Victor, There are no "constant" errors in the sql package if thats what you are looking for. Generally if .Ping() returns an error there is no connection - afaik the error string might give some indication but it is totally up to the driver/database. If you want to sleep and try again later

Re: [go-nuts] How can I distribute incoming HTTP request to 5 asynchronous workers?

2017-01-31 Thread Michael Banzon
oup. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Michael Banzon https://michaelbanzon.com/ -- You received this message because yo

Re: [go-nuts] How can I distribute incoming HTTP request to 5 asynchronous workers?

2017-01-31 Thread Michael Banzon
Read the content - wrap it up and start the five goroutines and pass it to them? On Tue, Jan 31, 2017 at 10:42 PM Onur Özer <sametoze...@gmail.com> wrote: > No, results not sent back and yes workers rely on the content. > > On Wed, 1 Feb 2017 at 00:41, Michael Banzon <mich..

Re: [go-nuts] Wrestling with Mingw64 on Windows

2017-01-30 Thread Michael Banzon
;golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Michael Banzon https://michaelbanzon.com/ -- You received th

Re: [go-nuts] Call for Feedback: Scoping gorilla/sessions v2

2017-01-29 Thread Michael Banzon
ng-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Michael Banzon https://michaelbanzon.com/ -- You received this me

Re: [go-nuts] Go 1.7 is released

2016-08-17 Thread Michael Banzon
"No test, no trust"? On Wed, Aug 17, 2016 at 1:17 AM Brad Fitzpatrick wrote: > We a phrase as catchy as "Pics or it didn't happen" for this. "Test or > it's not trustworthy"? Needs work. > > > On Tue, Aug 16, 2016 at 2:16 PM, Dave Cheney wrote: > >> Until

Re: [go-nuts] Vendoring nested dependencies

2017-04-13 Thread Michael Banzon
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. > For more options, visit https://groups.google.com/d/optout. > -- Micha

Re: [go-nuts] sql/driver: why the Result.LastInsertId method doesn't follow the Go's style for Initialisms?

2017-04-20 Thread Michael Banzon
I realize now (about a minute to late) that the "ID" case is mentioned specifically in the link you gave - option two it is ;-) tor. 20. apr. 2017 kl. 17.50 skrev Michael Banzon <mich...@banzon.dk>: > I don't (really) know. > > One reason could be that the "Id&

Re: [go-nuts] sql/driver: why the Result.LastInsertId method doesn't follow the Go's style for Initialisms?

2017-04-20 Thread Michael Banzon
t; To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Michael Banzon https://michaelbanzon.com/ -- You received this message because you are

Re: [go-nuts] Reading http.Request form values

2017-03-03 Thread Michael Banzon
gt; -- > 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. > For more options, visit https://grou

Re: [go-nuts] Re: Date parsing problem

2017-03-14 Thread Michael Banzon
is 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. > For more options, visit https://groups.google.com/d/optout. > -

[go-nuts] Date parsing problem

2017-03-14 Thread Michael Banzon
y inside a much bigger codebase. Running the same parsing on the playground gives me no error: https://play.golang.org/p/DYaTwaITIo -- Michael Banzon https://michaelbanzon.com/ -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscr

Re: [go-nuts] Re: Date parsing problem

2017-03-14 Thread Michael Banzon
sing is deeply inside a much bigger codebase. > Running the same parsing on the playground gives me no error: > https://play.golang.org/p/DYaTwaITIo > -- > Michael Banzon > https://michaelbanzon.com/ > > -- > You received this message because you are subscribed to the Goo

Re: [go-nuts] Building Cross Platform GUI apps in Go and Electron

2017-03-08 Thread Michael Banzon
oup and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Michael Banzon https://michaelbanzon.com/ -- You received this message because you are subscribed to the Google Group

Re: [go-nuts] Check for minimum Go version

2017-08-10 Thread Michael Banzon
ing is having the (up-to-date) toolchain in a container. -- Michael Banzon https://michaelbanzon.com/ > Den 10. aug. 2017 kl. 09.14 skrev Konstantin Khomoutov <kos...@bswap.ru>: > > On Wed, Aug 09, 2017 at 03:11:48PM +0200, Michael Banzon wrote: > >> Is there a way to

Re: [go-nuts] Anyone using https://github.com/knq/xo?

2017-07-20 Thread Michael Banzon
Just out of curiosity - why switch away from gorm?? We've just switched from gorp to gorm - with great success. The main reason I could find for going (pun intended) is to have one less dependency. -- Michael Banzon https://michaelbanzon.com/ Den 20. jul. 2017 kl. 06.04 skrev Nate Finch

Re: [go-nuts] Re: An idea about motivating the community

2017-07-18 Thread Michael Banzon
e.g.) - that could be a nice "passive" way to make community leaderboard (or maybe just a score lookup). -- Michael Banzon https://michaelbanzon.com/ Den 18. jul. 2017 kl. 09.02 skrev ondrej.li...@gmail.com: That's quite a lot of work! I personally hate gamification but agree t

Re: [go-nuts] Anyone using https://github.com/knq/xo?

2017-07-20 Thread Michael Banzon
I see your point. I might checkout going bare database/sql on one of my smaller projects to get a feel for it - now that I’ve been thinking about it it strikes me that I’ve actually never tried database stuff on Go without gorp/gorm etc. -- Michael Banzon https://michaelbanzon.com/ >

[go-nuts] Check for minimum Go version

2017-08-09 Thread Michael Banzon
Hi, Is there a way to have a (bash) script check if the version of the Go compiler installed is a specific minimum version? -- Michael Banzon https://michaelbanzon.com/ -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubs

Re: [go-nuts] Go 1.9 Beta 1 is released

2017-06-15 Thread Michael Banzon
s > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Michael Banzon https://michaelbanzon.com/ -- You

Re: [go-nuts] Gomobile

2017-06-13 Thread Michael Banzon
ed 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. > For more options, visit https://groups.google.com/d/optout. > --

Re: [go-nuts] Gomobile

2017-06-13 Thread Michael Banzon
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...@googlegroups.com. >> >> >>> For more options, visit https://gro