mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 21:57:06 +02:00
Moved specifc backends into separate packages
This commit is contained in:
parent
dfaf21b234
commit
48c8843f91
17 changed files with 127 additions and 98 deletions
|
@ -38,7 +38,7 @@ type Client struct {
|
|||
MaxResults int
|
||||
}
|
||||
|
||||
func New(token string) Client {
|
||||
func NewClient(token string) Client {
|
||||
resty := resty.New()
|
||||
resty.SetBaseURL(listenBrainzBaseURL)
|
||||
resty.SetAuthScheme("Token")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue