Using the go sdk to generate oidc/oauth2 credentials?

I’m trying to develop an application in go, that will authorize via an oidc app’s client ID and secret, and then generate other temporary credentials.

I found this in the golang sdk:

It’s a struct for open ID connection applications with the credentials, but no way to actually connect with those credentials.

am I missing something, or is this just not implemented in the sdk, and I’ll have to connect directly via http instead of prewritten functions/methods?