github.com/zach-klippenstein/go@v0.0.0-20150108044943-fcfbeb3adf58/src/go/doc/testdata/blank.2.golden (about)

     1  // Package blank is a go/doc test for the handling of _. See issue ...
     2  PACKAGE blank
     3  
     4  IMPORTPATH
     5  	testdata/blank
     6  
     7  IMPORTS
     8  	os
     9  
    10  FILENAMES
    11  	testdata/blank.go
    12  
    13  CONSTANTS
    14  	// T constants counting from unexported constants. 
    15  	const (
    16  		C1	T
    17  		C2
    18  	
    19  		C3
    20  	
    21  		C4	int
    22  	)
    23  
    24  	// Constants with an imported type that needs to be propagated. 
    25  	const (
    26  		Default		os.FileMode	= 0644
    27  		Useless				= 0312
    28  		WideOpen			= 0777
    29  	)
    30  
    31  	// Package constants. 
    32  	const (
    33  		_	int	= iota
    34  		I1
    35  		I2
    36  	)
    37  
    38  
    39  TYPES
    40  	// S has a padding field. 
    41  	type S struct {
    42  		H	uint32
    43  	
    44  		A	uint8
    45  		// contains filtered or unexported fields
    46  	}
    47  
    48  	// 
    49  	type T int
    50  
    51  	// T constants counting from a blank constant. 
    52  	const (
    53  		_	T	= iota
    54  		T1
    55  		T2
    56  	)
    57