| package folding //@fold("package") | |
| import ( "fmt" | |
| _ "log" | |
| ) | |
| import ( | |
| _ "os" ) | |
| // badBar is a function. | |
| func badBar() string { x := true | |
| if x { | |
| // This is the only foldable thing in this file when lineFoldingOnly | |
| fmt.Println("true") | |
| } else { | |
| fmt.Println("false") } | |
| return | |
| } |