Thanks a lot Marcin, it worked
The code is working as expected and I can generate the xml file from csv.
Now my next challenges are:
1. How to have fixed values in the xml file,
**
* 3.4*
* *
* 1*
* 2019-11-04 18:11 - Is there a
way in Go to returns current time stamp? so we get the date and
Your code creates an array for manifests ([]Manifest), and puts one entry
in there for each package, so encoding/xml is dutifully doing what you
asked it to do :)
You need to change your object structure so that you have one manifest with
a single header, and a list of packages.
Something like th
Hi Marcin,
Thanks for writing back I will sure try your code
I'm attaching the zip folder which has the complete code. It needs some
corrections as well,
Let me know your thoughts
Thanks
On Thu, Dec 12, 2019 at 6:14 PM Marcin Romaszewicz
wrote:
> Could you share your code which isn't working
Could you share your code which isn't working?
Here's a simple example of how you would do something like that, but not
knowing your code, it might not be helpful.
https://play.golang.org/p/H-9eCTYJxTA
On Thu, Dec 12, 2019 at 9:57 AM paresh patil
wrote:
> Hi,
>
>
> I'm new to Go and finding it
Hi,
I'm new to Go and finding it interesting to learn. I'm not a developer or
programmer, but I have interest in learning to code
I'm working on a project to convert csv file to xml file. The code executes
and I'm able to generate a xml file. But the file is not in the expected
format. I se