projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 10293-container-request-output-uuid
[arvados.git]
/
doc
/
sdk
/
go
/
example.html.textile.liquid
diff --git
a/doc/sdk/go/example.html.textile.liquid
b/doc/sdk/go/example.html.textile.liquid
index d8fccae08e4ad160ba1e03f664e84430e9e33afc..5fe202dbfff6a669c81dfd0b187c4f4f8edeac42 100644
(file)
--- a/
doc/sdk/go/example.html.textile.liquid
+++ b/
doc/sdk/go/example.html.textile.liquid
@@
-5,6
+5,10
@@
navmenu: Python
title: Examples
...
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
<pre>
h2. Initialize SDK
<pre>
@@
-32,14
+36,14
@@
h2. delete
<pre>
var collection arvados.Collection
<pre>
var collection arvados.Collection
- err := api.Delete("collections", "aaaaa-
bbbbb
-ccccccccccccccc", Dict{}, &collection)
+ err := api.Delete("collections", "aaaaa-
4zz18
-ccccccccccccccc", Dict{}, &collection)
</pre>
h2. get
<pre>
var collection arvados.Collection
</pre>
h2. get
<pre>
var collection arvados.Collection
- err := api.Get("collections", "aaaaa-
bbbbb
-ccccccccccccccc", Dict{}, &collection)
+ err := api.Get("collections", "aaaaa-
4zz18
-ccccccccccccccc", Dict{}, &collection)
</pre>
h2. list
</pre>
h2. list
@@
-53,7
+57,7
@@
h2. update
<pre>
var collection arvados.Collection
<pre>
var 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)
</pre>
h2. Get current user
</pre>
h2. Get current user