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_smart_initialization.go.golden
1
-- functionextraction_extract_smart_initialization_5_2 --
2
package extract
3
4
func _() {
5
var a []int
6
a, b := fn0(a) //@mark(exEn6, "4")
7
//@extractfunc(exSt6, exEn6)
8
a = append(a, b)
9
}
10
11
func fn0(a []int) ([]int, int) {
12
a = append(a, 2)
13
b := 4
14
return a, b
15
}
16