Hi arschles, I am go-lang beginner programmer
I am working on google compute engine API where createinstnace() method internally call authentication sign() function which print URL to visit and accept authentication code and generate and return oauth token which I used in createinstnace to send authenticated request.
I really stuck how to write golang test when one function call other function internally. i.e. in this case createinstance() calls sign() function.
Thank You for your valuable time. I am looking forward to your reply.
Regards,
Pratik Dhanave