X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/964ab3dd90ff1508efc0c77378cde2b3a4da1029..58be2f1c488248d11dfb2ad730b6a8d56e557e63:/doc/_includes/_example_sdk_go.liquid diff --git a/doc/_includes/_example_sdk_go.liquid b/doc/_includes/_example_sdk_go.liquid index 08124e6610..cc68b5a0b2 100644 --- a/doc/_includes/_example_sdk_go.liquid +++ b/doc/_includes/_example_sdk_go.liquid @@ -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"` }