Closed GoogleCodeExporter closed 9 years ago
Your program runs fine for me:
C:\go\path\mine\src\t>go run main.go
2013/12/19 16:49:27 Connected to database
2013/12/19 16:49:28 Row in Database: 1 2013-12-19 16:49:28.53 +1100 EST
2013/12/19 16:49:28 Row in Database: 2 NULL Date
and running
select * from Sample
displays
SampleId SomeDate
----------- ---------------------------
1 2013-12-19 16:49:28.5300000
2 NULL
3 2013-12-19 16:49:28.2289916
4 NULL
(4 row(s) affected)
So everything is as expected here. I am using windows-386 and odbc package hg
id e7603e584cea.
Not sure how I can help you.
Alex
Original comment by alex.bra...@gmail.com
on 19 Dec 2013 at 6:01
Alex,
Thanks for the quick response. I apologize for wasting your time, it turns out
that this was completely due to the fact that I was using an older version of
the code. I failed to use the -u flag when running 'go get' in order to force
the tool to update the codebase.
Everything works as expected. Thanks again.
Floyd
Original comment by floyd.ra...@gmail.com
on 19 Dec 2013 at 3:47
Original comment by alex.bra...@gmail.com
on 19 Dec 2013 at 10:06
Original issue reported on code.google.com by
floyd.ra...@gmail.com
on 18 Dec 2013 at 8:01Attachments: