A struct tag is just a string literal - according to the spec. The tags can only be accessed by reflect. The reflect api docs mention the convention. <a href="https:&#x2F;&#x2F;golang.org&#x2F;pkg&#x2F;reflect&#x2F;#StructTag" rel="nofollow">https:&#x2F;&#x2F;golang.org&#x2F;pkg&#x2F;reflect&#x2F;#StructTag</a>