Black Lives Matter. Support the Equal Justice Initiative.

Text file src/go/doc/testdata/g.1.golden

Documentation: go/doc/testdata

     1  // The package g is a go/doc test for mixed exported/unexported ...
     2  PACKAGE g
     3  
     4  IMPORTPATH
     5  	testdata/g
     6  
     7  FILENAMES
     8  	testdata/g.go
     9  
    10  CONSTANTS
    11  	// 
    12  	const (
    13  		A, b	= iota, iota
    14  		c, D
    15  		E, f
    16  		G, H
    17  	)
    18  
    19  
    20  VARIABLES
    21  	// 
    22  	var (
    23  		c1, C2, c3	= 1, 2, 3
    24  		C4, c5, C6	= 4, 5, 6
    25  		c7, C8, c9	= 7, 8, 9
    26  		xx, yy, zz	= 0, 0, 0	// all unexported and hidden
    27  	)
    28  
    29  	// 
    30  	var (
    31  		x, X	= f()
    32  		y, z	= f()
    33  	)
    34  
    35  

View as plain text