mirror of
https://github.com/golang/go
synced 2024-11-19 04:54:41 -07:00
19 lines
290 B
Go
19 lines
290 B
Go
|
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
|
||
|
}
|