Okta Authentication from Golang based CLI application

Hi,

I’m attempting to do a Golang CLI proof-of-concept using Okta authentication. I am specifically looking for a sample golang CLI client app that accesses internal APIs using Okta access token (OIDC). I was going through some sample example here but I observed that it uses templates pkg that renders a page on browser at localhost:8080. I need replicate the same but from CLI terminal and need to launch Okta authentication directly from there. Any sample app example for this requirement will greatly help. Thanks.

Regards,
Niladri