I need a data struct / solution that I can store mixed data-types into an 
array. How to architect that?


Details -- Consider the checkout point at the cashier, the checkout process 
receives the following string of instructions

   1. purchase
   2. coupon
   3. purchase
   4. purchase
   
I want to store all the above request data into an array, so I don't lost 
the sequence how they arrive, which in turn requests the array element to 
be either purchase or coupon.


How to make it happen? Thanks


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to