Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / internal / lsp / testdata / extract / extract_function / extract_return_init.go.golden
1 -- functionextraction_extract_return_init_5_2 --
2 package extract
3
4 func _() string {
5         x := 1
6         cond0, ret0 := fn0(x)
7         if cond0 {
8                 return ret0
9         } //@mark(exEn5, "}")
10         x = 2
11         return "b"
12         //@extractfunc(exSt5, exEn5)
13 }
14
15 func fn0(x int) (bool, string) {
16         if x == 0 {
17                 x = 3
18                 return true, "a"
19         }
20         return false, ""
21 }
22