projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
.gitignore added
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
coc-go-data
/
tools
/
pkg
/
mod
/
golang.org
/
x
/
tools@v0.1.0
/
refactor
/
eg
/
testdata
/
A2.golden
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.0/refactor/eg/testdata/A2.golden
b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.0/refactor/eg/testdata/A2.golden
new file mode 100644
(file)
index 0000000..
b6e3a6d
--- /dev/null
+++ b/
.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.0/refactor/eg/testdata/A2.golden
@@ -0,0
+1,15
@@
+// +build ignore
+
+package A2
+
+// This refactoring causes addition of "errors" import.
+// TODO(adonovan): fix: it should also remove "fmt".
+
+import (
+ "errors"
+ myfmt "fmt"
+)
+
+func example(n int) {
+ errors.New("")
+}