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

2017-01-30 Thread pierre . curto
Hello, When this thread came up I was working on an ini formatting tool, similar to (but way simpler than) gofmt, which required parsing and manipulating the contents of an ini file. As you have found out, there are a bunch of packages already doing that, but not in the spirit of simplicity tha

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

2017-01-17 Thread Konstantin Khomoutov
On Sat, 14 Jan 2017 09:43:54 -0800 (PST) Nathan Kerr wrote: > 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/Unknwon/goconfig, > which also reads ini files but is now in bug fix only mo

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

2017-01-17 Thread Konstantin Khomoutov
On Sat, 14 Jan 2017 08:03:45 -0800 (PST) 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 to read an .

[go-nuts] Reading an .ini file

2017-01-14 Thread 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/Unknwon/goconfig, which also reads ini files but is now in bug fix only mode. Both claim to support comments. -- You received this message be

[go-nuts] Reading an .ini file

2017-01-14 Thread bucarr
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 to read an .ini file to get path/filename. It bombs on the first line. This is fr