1// Copyright 2021 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5package a 6 7type T struct { 8 X int `go:"track"` 9 Y int `go:"track"` 10 Z int // untracked 11} 12 13func (t *T) GetX() int { 14 return t.X 15} 16func (t *T) GetY() int { 17 return t.Y 18} 19func (t *T) GetZ() int { 20 return t.Z 21} 22