projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
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_basic.go.golden
1
-- functionextraction_extract_return_basic_5_2 --
2
package extract
3
4
func _() bool {
5
x := 1
6
cond0, ret0 := fn0(x)
7
if cond0 {
8
return ret0
9
} //@mark(exEn2, "}")
10
return false
11
//@extractfunc(exSt2, exEn2)
12
}
13
14
func fn0(x int) (bool, bool) {
15
if x == 0 {
16
return true, true
17
}
18
return false, false
19
}
20