ziutek / mymysql

MySQL Client API written entirely in Go
Other
735 stars 161 forks source link

time.ParseInLocation undefined #109

Closed martinellison closed 9 years ago

martinellison commented 9 years ago

When I try to go get mymysql, I get an error at types.go:128 saying that time.ParseInLocation is undefined.

This is on a Raspberry Pi running NOOBS (which I think is Raspbian), and it is a new go install so the cause of the error could be many things. The code builds happily on the big box running Fedora.

martinellison commented 9 years ago

This turned out to be a go install issue. The golang package for Raspberry Pi actually installs version 1.0, so not surprisingly mymysql does not install. (For the record, I reinstalled from the semi-official tarball).