1
0
forked from sm/vain

fixed typo for vain url

Change-Id: Ib36806293cce380146358abe969938fe62e5d431
This commit is contained in:
Derek McQuay 2016-06-28 22:52:14 -07:00
parent 479ef2b786
commit 733cb78284

View File

@ -46,12 +46,12 @@
<p> <p>
<pre> <pre>
$ export TOKEN=c033-b79f-7fa1 $ export TOKEN=c033-b79f-7fa1
$ curl -i -H "Authorization: Bearer $TOKEN" -d '{"repo": "https://git.example.com/user/foo"}' https://vain/me/foo </pre> $ curl -i -H "Authorization: Bearer $TOKEN" -d '{"repo": "https://git.example.com/user/foo"}' https://go.example.com/foo </pre>
</p> </p>
<h2>Deleting a repository</h2> <h2>Deleting a repository</h2>
<p>Using the appropriate token for the route you want to delete:</p> <p>Using the appropriate token for the route you want to delete:</p>
<pre> <pre>
$ curl -i -H "Authorization: Bearer $TOKEN" -X DELETE https://vain/me/foo </pre> $ curl -i -H "Authorization: Bearer $TOKEN" -X DELETE https://go.example.com/foo </pre>
<h2>go tool</h2> <h2>go tool</h2>
<p> The <a href="https://golang.org/cmd/go/#hdr-Download_and_install_packages_and_dependencies">go tool</a> doesn't need any modification in order to work, e.g. if vain is hosted on <code>https://go.example.com</code>: </p> <pre>$ go get go.example.com/foo</pre> <p> The <a href="https://golang.org/cmd/go/#hdr-Download_and_install_packages_and_dependencies">go tool</a> doesn't need any modification in order to work, e.g. if vain is hosted on <code>https://go.example.com</code>: </p> <pre>$ go get go.example.com/foo</pre>