{"repo":"clerk/clerk-sdk-go","free":true,"listed":false,"github":"https://github.com/clerk/clerk-sdk-go","clone":"git clone https://github.com/clerk/clerk-sdk-go.git","description":"Access the Clerk Backend API from Go","language":"Go","stars":158,"topics":["sdk","sdk-go","authentication","authentication-middleware","clerk-sdk"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Clerk Go SDK The official Clerk Go client library for accessing the Clerk Backend API. Migrating from v1 ? Check out the upgrade guide. Requirements - Go 1.24 or later. Installation If you are using Go Modules and have a go.mod file in your project's root, you can import clerk-sdk-go directly. Alternatively, you can go get the package explicitly. Usage For details on how to use this module, see the Go Documentation. The library has a resource-based structure which follows the way the Clerk Backend API resources are organized. Each API supports specific operations, like Create or List. While operations for each resource vary, a similar pattern is applied throughout the library. In order to start using API operations the library needs to be configured with your Clerk API secret key. Depending on your use case, there's two ways to use the library; with or without a client. For most use cases, the API without a client is a better choice. On the other hand, if you need to set up multiple Clerk API keys, using clients for API operations provides more flexibility. Let's see both approaches in detail. Usage without a client If you only use one API key, you can import the packages required for the APIs you need to interact with and call functions for API operations. Usage with a client If you're dealing with multiple keys, it is recommended to use a client based approach. The API packages for each resource export a Client, which supports all the API's operations. This way you can crea","default_branch":null,"files":null,"tree":[],"storefront":"/r/clerk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/clerk/clerk-sdk-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}