I never use Gmail API, maybe I will do dumb solution,  running the sample
in local and see how it is going on.

On Mon, Sep 9, 2019 at 11:59 AM Grigorii Tkachuk <tkachu...@gmail.com>
wrote:

> I'm looking into this example
> https://github.com/gsuitedevs/go-samples/blob/master/gmail/quickstart/quickstart.go
>  and
> I do not understand why it refreshes "token.json". On line 45 we are
> passing token itself but not a path to token file. I went thru a
> documentation and source code but I do not understand how it works. My goal
> to put service which interacts with gmail api inside k8s cluster and I'm
> searching a way to pass and store token using k8s secrets but in the first
> of all I want to understand how it works with files.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/d3d55244-5d75-464a-86af-8ce5a4eaa09b%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/d3d55244-5d75-464a-86af-8ce5a4eaa09b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2Bp%2BMUczNQ9MLB%2B04B3V88B1g2Kmfv3dcud1UMdSV%2Bq834seyQ%40mail.gmail.com.

Reply via email to