client: call Options() automatically

This commit is contained in:
aler9
2022-02-19 22:51:54 +01:00
parent 95117f0aa4
commit bc9be686d9
10 changed files with 45 additions and 69 deletions

View File

@@ -37,11 +37,6 @@ func main() {
}
defer c.Close()
_, err = c.Options(u)
if err != nil {
panic(err)
}
tracks, baseURL, _, err := c.Describe(u)
if err != nil {
panic(err)