Merge branch '8784-dir-listings'
[arvados.git] / doc / _includes / _example_sdk_go.liquid
index 08124e661066f43da6fb1637a55d2f73ecb4b4eb..cc68b5a0b216bcbfd47cab7f736d7ec514df5c8c 100644 (file)
@@ -1,3 +1,9 @@
+{% comment %}
+Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: CC-BY-SA-3.0
+{% endcomment %}
+
 package main
 
 
@@ -31,6 +37,9 @@ func main() {
        //
 
        type user struct {
+               // Remember to start each field name with a capital letter,
+               // otherwise it won't get populated by the arvados client because
+               // the field will be invisible to it.
                Uuid     string `json:"uuid"`
                FullName string `json:"full_name"`
        }