Debian Codegraph @

src/go/doc/testdata/g.go

raw
1 // Copyright 2018 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 // The package g is a go/doc test for mixed exported/unexported values.
6 package g
7
8 const (
9 A, b = iota, iota
10 c, D
11 E, f
12 G, H
13 )
14
15 var (
16 c1, C2, c3 = 1, 2, 3
17 C4, c5, C6 = 4, 5, 6
18 c7, C8, c9 = 7, 8, 9
19 xx, yy, zz = 0, 0, 0 // all unexported and hidden
20 )
21
22 var (
23 x, X = f()
24 y, z = f()
25 )