From 733cb78284ede08464c7e640b33bbfb5031feee5 Mon Sep 17 00:00:00 2001
From: derek mcquay
$ export TOKEN=c033-b79f-7fa1
-$ curl -i -H "Authorization: Bearer $TOKEN" -d '{"repo": "https://git.example.com/user/foo"}' https://vain/me/foo
+$ curl -i -H "Authorization: Bearer $TOKEN" -d '{"repo": "https://git.example.com/user/foo"}' https://go.example.com/foo
Using the appropriate token for the route you want to delete:
-$ curl -i -H "Authorization: Bearer $TOKEN" -X DELETE https://vain/me/foo+$ curl -i -H "Authorization: Bearer $TOKEN" -X DELETE https://go.example.com/foo
The go tool doesn't need any modification in order to work, e.g. if vain is hosted on https://go.example.com
:
$ go get go.example.com/foo