[go-nuts] parse date/time with comma before millis

2018-08-30 Thread skirmish
In example code here; https://play.golang.org/p/4P2nH_KE8uu I'm trying to parse a date time string of the form 2015-09-09 15:21:08,431 but using the format of 2006-01-02 15:04:05,999 (among many others that I've tried) which I'd expect to work, the time.Parse doesn't want to take the format. Lo

[go-nuts] Re: gorutine, channels

2016-09-02 Thread skirmish
Hi, I took the liberty of creating what I think you're trying to achieve in the go playground so I could test: https://play.golang.org/p/IgtSUNLakJ Are you expecting the output of the two goroutines to be run in parallel so you get the output 1 2 3 4 5 6? Cheers On Friday, September 2, 2016 a