1package folding //@fold("package") 2 3import ( "fmt" 4 _ "log" 5) 6 7import ( 8 _ "os" ) 9 10// badBar is a function. 11func badBar() string { x := true 12 if x { 13 // This is the only foldable thing in this file when lineFoldingOnly 14 fmt.Println("true") 15 } else { 16 fmt.Println("false") } 17 return 18} 19