mirror of
https://github.com/taigrr/elevenlabs.git
synced 2026-04-02 03:08:57 -07:00
14 lines
197 B
Go
14 lines
197 B
Go
package client
|
|
|
|
const apiEndpoint = "https://api.elevenlabs.io"
|
|
|
|
var ErrUnauthorized error
|
|
|
|
type Client struct {
|
|
apiKey string
|
|
}
|
|
|
|
func New(apiKey string) Client {
|
|
return Client{apiKey: apiKey}
|
|
}
|