Dear Expert,
I would like to ask some help from you about go lang programming. I’m beginner in go programming, i don’t know to come-up with a solution for my problem. I don’t know if the problem is the array, slice, range or what but my issue I want it the same on the output bellow.
The array goes here is like this.
Company=:[{1 Toyota} {2 Izuzu} {3 Ford}]
Cars: [{A Hilux} {B Hi-Ace}][{A DMAX} {B Bus}][{A Ranger}{B Focus}]
Color:[{White Red}][{Black Red}][{Blue Red}][{Blue Red}][{Blue Red}][{Blue Red}]
I want the output will be like this.
1 Toyota
A Hilux
White
Red
B Hi-Ace
White
Red
2 Izuzu
A DMAX
White
Red
B Bus
White
Red
3 Ford
A Ranger
White
Red
B Focus
White
Red
Please help.
Thank you in advance