since the readme of github.com/google/signet has a straight forward example of how to use OAuth version 1, it misses the OAuth version 2 completely.being new to OAuth I did havesome problems to get the example from the readme working at first. so here is the slightly modified version of the example
now I was able to use the same for twitter after creating an application on dev.twtter.com
now I wanted to use OAuth2 with my google account so first I created a clientId on code.google.com/apis/console. with that it was possible to get data from my google acount
maybe these scripts might be of any help . . .