Looking for information to create a public/private jwk

I’ve been searching and can’t seem to find any tips on creating a JSON Web Key. I have found
jwk package - github.com/lestrrat-go/jwx/jwk - pkg.go.dev but no examples from my search and
Go How to Generate a JSON Web Key (JWK) but this one required a paid licenses. Is there an example that anyone can point me to that can hopefully be implemented using Go library without a requirement of a 3rd party library?
I’m relatively new to Go so I’m still figuring things out.

Thanks