Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / refactor / eg / testdata / I.template
1 // +build ignore
2
3 package templates
4
5 import (
6         "errors"
7         "fmt"
8 )
9
10 func before(s string) error { return fmt.Errorf("%s", s) }
11 func after(s string) error {
12         n := fmt.Sprintf("error - %s", s)
13         return errors.New(n)
14 }