expanderr
expanderr copied to clipboard
expands the Go Call Expression under your cursor to check errors
You frequently want to add a function call to errors, such as: return fmt.Errorf("cannot parse %v: %v", input, err) or: return errors.Wrap(err) It would be nice if you could do...
``` [~/go/src/a/err]% cat err.go package err import "os" func err() error { if err := os.Remove("/tmp/state.bin"); err != nil { return err } return nil } [~/go/src/a/err]% expanderr err.go:#59 2017/09/21...
it would be very cool if there is un integration with VSCode of your great project.