WilfredAlmeida / unkey-go

Go SDK for Unkey
Apache License 2.0
4 stars 1 forks source link

Global object initialization #12

Open WilfredAlmeida opened 1 year ago

WilfredAlmeida commented 1 year ago

Adding global initialization of an unkey object with authToken.

I feel this might be unnecessary. As of now, the code is structured such that no state is necessary for it. It's just a bunch of API calls adjusted for the Unkey API. So passing the auth token wherever needed is fine too.