Closed Garionion closed 5 years ago
@Garionion in Go, struct fields need to exported (made public by upper-casing the first character) so reflection can access it. This should get you going in the right direction: https://play.golang.org/p/-CLarw8k_Q3
Thank you very much :) It is working perfectly
Hi, I am currently trying to speak with an Instance of the C3 Ticket Tracker and it works to the point where I get a valid answer when I call
getTicketInfo
(because its the easiest to start with) But although my type is correct, the response is not unpacked into the given struct. The struct just has the default values{0 0 0 0 0 false }
My code looks like this (Please be indulgent, this is my first attempt at Go.)