projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
minor adjustment to readme
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
coc-go-data
/
tools
/
pkg
/
mod
/
golang.org
/
x
/
tools@v0.0.0-20201105173854-bc9fc8d8c4bc
/
internal
/
lsp
/
testdata
/
extract
/
extract_function
/
extract_return_complex.go
1
package extract
2
3
import "fmt"
4
5
func _() (int, string, error) {
6
x := 1
7
y := "hello"
8
z := "bye" //@mark(exSt3, "z")
9
if y == z {
10
return x, y, fmt.Errorf("same")
11
} else {
12
z = "hi"
13
return x, z, nil
14
} //@mark(exEn3, "}")
15
return x, z, nil
16
//@extractfunc(exSt3, exEn3)
17
}