Debian Codegraph @

test/fixedbugs/issue20014.dir/a/a.go

raw
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
5 package a
6
7 type T struct {
8 X int `go:"track"`
9 Y int `go:"track"`
10 Z int // untracked
11 }
12
13 func (t *T) GetX() int {
14 return t.X
15 }
16 func (t *T) GetY() int {
17 return t.Y
18 }
19 func (t *T) GetZ() int {
20 return t.Z
21 }