[go-nuts] Re: Reading an .ini file

2017-01-16 Thread Nathan Kerr
Do you have a better suggestion? On Tuesday, January 17, 2017 at 3:52:49 AM UTC+1, hui zhang wrote: > > this package is quit buggy > check its issues, I list some , and still not fix yet > > 在 2017年1月15日星期日 UTC+8上午1:43:55,Nathan Kerr写道: >> >> Using a newer package might help. >> >> https://gith

[go-nuts] Re: Reading an .ini file

2017-01-16 Thread hui zhang
this package is quit buggy check its issues, I list some , and still not fix yet 在 2017年1月15日星期日 UTC+8上午1:43:55,Nathan Kerr写道: > > Using a newer package might help. > > https://github.com/go-ini/ini looks to be under active development and is > written by the author of https://github.com/Unknw

[go-nuts] Re: Reading an .ini file

2017-01-14 Thread bucarr
> Thank you all for the suggestions. Some of them are WAY above my pay > grade presently. I'll try one of the other suggested packages. > On Saturday, January 14, 2017 at 9:46:47 AM UTC-7, buc...@gmail.com wrote: > > > -- You received this message because you are subscribed to the Goo

[go-nuts] Re: Reading an .ini file

2017-01-14 Thread mhhcbon
I can reproduce your problem by inserting the BOM in front of the file. printf '\xEF\xBB\xBF;blah\nff=ff' > test.ini A quick and dirty fix might look like this, it wraps the read operation with a bomskipreader, which jobs is to detect and get ride of the bom if detected, thus its like it was n

[go-nuts] Re: Reading an .ini file

2017-01-14 Thread mhhcbon
On Saturday, January 14, 2017 at 5:46:47 PM UTC+1, buc...@gmail.com wrote: > > Rankest beginner here. Trying to learn Go by converting an old Visual > Basic application to Go (yeah, right) on Windows 10 (got all the database > stuff working with both postgre and sqlite!) The application needs