- type user struct {
- Uuid string `json:"uuid"`
- FullName int `json:"full_name"`
- }
+See "Arvados GoDoc":https://godoc.org/git.curoverse.com/arvados.git/sdk/go for detailed documentation.
- var u user
- err := arv.Call("GET", "users", "", "current", nil, &u)
+h3. Installation
- if err != nil {
- return err
- }
+Use @go get git.curoverse.com/arvados.git/sdk/go/arvadosclient@. The go tools will fetch the relevant code and dependencies for you.
- log.Printf("Logged in as %s (uuid %s)", user.Uuid, user.FullName)
-
-
+