firest succesfull request
This commit is contained in:
@@ -2,13 +2,18 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/irlndts/go-discogs/discogs"
|
||||
"github.com/irlndts/go-discogs"
|
||||
// "io/ioutil"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func main() {
|
||||
client := &http.Client{}
|
||||
discogs := discogs.NewClient(client)
|
||||
fmt.Println(discogs)
|
||||
d := discogs.NewClient(client)
|
||||
params := &discogs.ReleaseParams{12345}
|
||||
release, resp, err := d.Release.Release(params)
|
||||
fmt.Println(release.Title)
|
||||
fmt.Println(resp)
|
||||
fmt.Println(err)
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user