Well, whatever it was, a clean sweep making sure "mysql" was defined only where necessary and matched by relevant "mysql.NullTime" entries seems to have got rid of the message I could not quite understand ad can't seem to trigger anymore.
I'll just thank my lucky stars, and Pietro. Lucio. On 10/13/16, Lucio De Re <lucio.d...@gmail.com> wrote: > Now, I'm beginning to wonder if I actually followed a red herring? (I > went to investigate the first thread I found, but it only covered one > half of the problem.) > > I'll have to try again, from the beginning. > > Lucio. > > On 10/13/16, Lucio De Re <lucio.d...@gmail.com> wrote: >> It will take me a while to reproduce the error, but it involved on one >> hand refusing to accept the "mysql" import and on the other claiming >> that the "mysql" in "mysql.NullTime" wasn't defined (from memory). >> >> I have borrowed code I found elsewhere, but it's not as comprehensive >> as I may wish and seems a ridiculous work-around. >> >> Lucio. >> >> On 10/13/16, Pietro Gagliardi <andl...@lostsig.net> wrote: >>> What error do you get? Can you paste it here? >>> >>> In the meantime, does pq's license allow you to just copy its NullTime >>> into >>> your project? >>> >>>> On Oct 13, 2016, at 8:34 AM, Lucio <lucio.d...@gmail.com> wrote: >>>> >>>> I used >>>> >>>> import "github.com/lib/pq" >>>> >>>> ... >>>> >>>> var t pq.NullTime >>>> >>>> ... >>>> >>>> successfully in the past, but using >>>> >>>> import "github.com/go-sql-driver/mysql" >>>> >>>> in the same context seems to fail with an error I don't quite >>>> understand. >>>> >>>> How is one to access the NullTime in mysql, if the import cannot be >>>> visible? Is there a trick I have overlooked? >>>> >>>> I have checked a previous thread along these lines, but it does not >>>> disclose how it's done, even though the tools for it seem to be in >>>> place >>>> (mysql.NullTime does exist). >>>> >>>> Help, anyone? >>>> >>>> Lucio. >>>> >>>> >>>> -- >>>> 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 >>>> <mailto:golang-nuts+unsubscr...@googlegroups.com>. >>>> For more options, visit https://groups.google.com/d/optout >>>> <https://groups.google.com/d/optout>. >>> >>> >> >> >> -- >> Lucio De Re >> 2 Piet Retief St >> Kestell (Eastern Free State) >> 9860 South Africa >> >> Ph.: +27 58 653 1433 >> Cell: +27 83 251 5824 >> FAX: +27 58 653 1435 >> > > > -- > Lucio De Re > 2 Piet Retief St > Kestell (Eastern Free State) > 9860 South Africa > > Ph.: +27 58 653 1433 > Cell: +27 83 251 5824 > FAX: +27 58 653 1435 > -- Lucio De Re 2 Piet Retief St Kestell (Eastern Free State) 9860 South Africa Ph.: +27 58 653 1433 Cell: +27 83 251 5824 FAX: +27 58 653 1435 -- 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://groups.google.com/d/optout.