If this GetInfo shall return some info, I bet you have to send in the maximum length of the name, and get back the real length. So allocate enough for the longest name to be returned (userName:=make([]byte,128)) and pass in that length.
-- 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.