[go-nuts] XML to CSV utility

2023-04-13 Thread Jason E. Aten
I required but couldn't not find an XML to CSV converter, so I wrote one. https://github.com/glycerine/xml2csv It is really bare bones/just the minimum I needed -- as it was written to process a specific dataset. Nonetheless, perhaps it will be useful to someone else as well; as the starting p

Re: [go-nuts] Avoid forcing my module users' to carry dependencies from code that live under the same repo just as examples/ debugging purposes.

2023-04-13 Thread Jim Idle
You might start with this repo: https://github.com/golang-standards/project-layout This is not an 'official' standard, though it does encapsulate the things that are standard go such as the internal directory. Personally I avoid its recommendation to use a directory 'pkg' to store your module co

[go-nuts] Avoid forcing my module users' to carry dependencies from code that live under the same repo just as examples/ debugging purposes.

2023-04-13 Thread Pablo Caballero
I made a very simple module (the very first one that I uploaded to my GitHub account). I had a main.go file in the root directory used just for testing/debugging (and to keep as an example of how to use the module). Then I "go got" my module from another project just to see that this project transi