In Javascript, we can create objects like this:
var car = {type:"Fiat", model:"500", color:"white"};
So if we want to print the car's model, then we do this in the console:
console.log(car.model);
or
console.log(car['model']);
Then, we will get:
"500"
Does Golang have something similar to Javascript Objects? Or how can I approach to this solution?