github.com/shijuvar/go@v0.0.0-20141209052335-e8f13700b70c/src/go/doc/testdata/error1.0.golden (about)

     1  // 
     2  PACKAGE error1
     3  
     4  IMPORTPATH
     5  	testdata/error1
     6  
     7  FILENAMES
     8  	testdata/error1.go
     9  
    10  TYPES
    11  	// 
    12  	type I0 interface {
    13  		// When embedded, the predeclared error interface
    14  		// must remain visible in interface types.
    15  		error
    16  	}
    17  
    18  	// 
    19  	type S0 struct {
    20  		// contains filtered or unexported fields
    21  	}
    22  
    23  	// 
    24  	type T0 struct {
    25  		ExportedField interface {
    26  			// error should be visible
    27  			error
    28  		}
    29  	}
    30