I am just starting with Go and I want to rewrite a PHP app that read/write 
events to and from my user's calendars. That app uses an API service 
account key ("two-legged OAuth" - server to server authentication) to 
access the calendar that my users have granted r/w access to my Service 
Account email address.

I have installed the google.golang.org 
<https://github.com/google/google-api-go-client> API package where an 
example "calendar.go" is to be found. Could not get it running. It produces 
an error: "undefined: registerDemo". This thread 
<https://github.com/google/google-api-go-client/issues/115> wasn't very 
helpful to get me going.

I also read this Google API guide 
<https://developers.google.com/identity/protocols/OAuth2ServiceAccount>. 
Example code are given in Java, PHP and Python but not for Go!

I am kind of stuck.

Can someone point me in the right direction? Any good working example or 
step-by-step howto for a Go newbie?

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to