1// Package blank is a go/doc test for the handling of _. See issue ... 2PACKAGE blank 3 4IMPORTPATH 5 testdata/blank 6 7IMPORTS 8 os 9 10FILENAMES 11 testdata/blank.go 12 13CONSTANTS 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 a single type that is not propagated. 25 const ( 26 Default = 0644 27 Useless = 0312 28 WideOpen = 0777 29 ) 30 31 // Constants with an imported type that is propagated. 32 const ( 33 M1 os.FileMode 34 M2 35 M3 36 ) 37 38 // Package constants. 39 const ( 40 I1 int 41 I2 42 ) 43 44 45TYPES 46 // S has a padding field. 47 type S struct { 48 H uint32 49 50 A uint8 51 // contains filtered or unexported fields 52 } 53 54 // 55 type T int 56 57 // T constants counting from a blank constant. 58 const ( 59 T1 T 60 T2 61 ) 62 63