2 package folding //@fold("package")
8 // bar is a function.<>
9 func bar(<>) string {<>}
12 package folding //@fold("package")
22 // With a multiline doc comment.
27 _ = map[string]int{<>}
30 x, y := make(<>), make(<>)
32 // This is a multiline comment<>
39 package folding //@fold("package")
49 // With a multiline doc comment.
79 x, y := make(chan bool), make(chan bool)
85 // This is a multiline comment
86 // that is not a doc comment.
93 package folding //@fold("package")
102 // bar is a function.
103 // With a multiline doc comment.
107 if true {<>} else {<>}
136 x, y := make(chan bool), make(chan bool)
139 if val {<>} else {<>}
145 // This is a multiline comment
146 // that is not a doc comment.
153 package folding //@fold("package")
162 // bar is a function.
163 // With a multiline doc comment.
175 fmt.Println("default")
200 x, y := make(chan bool), make(chan bool)
211 fmt.Println("default")
213 // This is a multiline comment
214 // that is not a doc comment.
220 -- foldingRange-cmd --
254 -- foldingRange-comment-0 --
255 package folding //@fold("package")
264 // bar is a function.<>
276 fmt.Println("default")
301 x, y := make(chan bool), make(chan bool)
305 fmt.Println("true from x")
307 fmt.Println("false from x")
312 fmt.Println("default")
314 // This is a multiline comment<>
320 -- foldingRange-imports-0 --
321 package folding //@fold("package")
327 // bar is a function.
328 // With a multiline doc comment.
340 fmt.Println("default")
365 x, y := make(chan bool), make(chan bool)
369 fmt.Println("true from x")
371 fmt.Println("false from x")
376 fmt.Println("default")
378 // This is a multiline comment
379 // that is not a doc comment.
385 -- foldingRange-lineFolding-0 --
386 package folding //@fold("package")
393 // bar is a function.<>
394 func bar() string {<>
397 -- foldingRange-lineFolding-1 --
398 package folding //@fold("package")
407 // bar is a function.
408 // With a multiline doc comment.
417 _ = map[string]int{<>,
423 x, y := make(chan bool), make(chan bool)
426 // This is a multiline comment<>
432 -- foldingRange-lineFolding-2 --
433 package folding //@fold("package")
442 // bar is a function.
443 // With a multiline doc comment.
473 x, y := make(chan bool), make(chan bool)
479 // This is a multiline comment
480 // that is not a doc comment.
486 -- foldingRange-lineFolding-3 --
487 package folding //@fold("package")
496 // bar is a function.
497 // With a multiline doc comment.
507 fmt.Println("default")
532 x, y := make(chan bool), make(chan bool)
541 fmt.Println("default")
543 // This is a multiline comment
544 // that is not a doc comment.
550 -- foldingRange-lineFolding-comment-0 --
551 package folding //@fold("package")
560 // bar is a function.<>
572 fmt.Println("default")
597 x, y := make(chan bool), make(chan bool)
601 fmt.Println("true from x")
603 fmt.Println("false from x")
608 fmt.Println("default")
610 // This is a multiline comment<>
616 -- foldingRange-lineFolding-imports-0 --
617 package folding //@fold("package")
624 // bar is a function.
625 // With a multiline doc comment.
637 fmt.Println("default")
662 x, y := make(chan bool), make(chan bool)
666 fmt.Println("true from x")
668 fmt.Println("false from x")
673 fmt.Println("default")
675 // This is a multiline comment
676 // that is not a doc comment.