How to handle refresh tokens in golang/oauth2 client lib

There are few examples of using but none of them covers usage of refresh tokens. I’ve tried few approaches, but i’m still unsatisfied with my results.

Is there any example code, or maybe you know some project at Github using oauth2 lib to take as example?