X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3c2fee34ad8f668f5cf9001d6b7d605965ec28bb..53a9aa7651a9fed6d88f4ece0f8d4cd10a77a63f:/doc/sdk/go/example.html.textile.liquid?ds=sidebyside diff --git a/doc/sdk/go/example.html.textile.liquid b/doc/sdk/go/example.html.textile.liquid index d8fccae08e..5fe202dbff 100644 --- a/doc/sdk/go/example.html.textile.liquid +++ b/doc/sdk/go/example.html.textile.liquid @@ -5,6 +5,10 @@ navmenu: Python title: Examples ... +See "Arvados GoDoc":https://godoc.org/git.curoverse.com/arvados.git/sdk/go for detailed documentation. + +In these examples, the site prefix is @aaaaa@. + h2. Initialize SDK
@@ -32,14 +36,14 @@ h2. deletevar collection arvados.Collection - err := api.Delete("collections", "aaaaa-bbbbb-ccccccccccccccc", Dict{}, &collection) + err := api.Delete("collections", "aaaaa-4zz18-ccccccccccccccc", Dict{}, &collection)h2. getvar collection arvados.Collection - err := api.Get("collections", "aaaaa-bbbbb-ccccccccccccccc", Dict{}, &collection) + err := api.Get("collections", "aaaaa-4zz18-ccccccccccccccc", Dict{}, &collection)h2. list @@ -53,7 +57,7 @@ h2. updatevar collection arvados.Collection - err := api.Update("collections", "aaaaa-bbbbb-ccccccccccccccc", Dict{"collection": Dict{"name": "update example"}}, &collection) + err := api.Update("collections", "aaaaa-4zz18-ccccccccccccccc", Dict{"collection": Dict{"name": "update example"}}, &collection)h2. Get current user