├── LICENSE ├── README.md ├── docs └── expanderr.svg ├── expanderr.el ├── expanderr.go ├── expanderr_test.go ├── internal └── srcimporter │ └── srcimporter.go ├── lisp └── go-expanderr.el ├── pos.go ├── screencast.gif ├── screencast.mp4 └── testdata ├── comment.got └── src │ └── comment │ └── comment.go ├── comment.want └── src │ └── comment │ └── comment.go ├── commentinline.got └── src │ └── commentinline │ └── commentinline.go ├── commentinline.want └── src │ └── commentinline │ └── commentinline.go ├── customtypes.got └── src │ └── customtypes │ └── customtypes.go ├── customtypes.want └── src │ └── customtypes │ └── customtypes.go ├── functionliteral.got └── src │ └── functionliteral │ └── functionliteral.go ├── functionliteral.want └── src │ └── functionliteral │ └── functionliteral.go ├── introduceerr.got └── src │ └── introduceerr │ └── introduceerr.go ├── introduceerr.want └── src │ └── introduceerr │ └── introduceerr.go ├── multipkg.got └── src │ ├── lib │ └── lib.go │ └── multipkg │ └── multipkg.go ├── multipkg.want └── src │ └── multipkg │ └── multipkg.go ├── multipkgvendor.got └── src │ └── multipkg │ ├── multipkg.go │ └── vendor │ └── lib │ └── lib.go ├── multipkgvendor.want └── src │ └── multipkg │ └── multipkg.go ├── nocalleereturn.got └── src │ └── nocalleereturn │ └── nocalleereturn.go ├── nocalleereturn.want └── src │ └── nocalleereturn │ └── nocalleereturn.go ├── noerrreturn.got └── src │ └── noerrreturn │ └── noerrreturn.go ├── noerrreturn.want └── src │ └── noerrreturn │ └── noerrreturn.go ├── nointroduce.got └── src │ └── nointroduce │ └── nointroduce.go ├── nointroduce.want └── src │ └── nointroduce │ └── nointroduce.go ├── noreturncaller.got └── src │ └── noreturncaller │ └── noreturncaller.go ├── noreturncaller.want └── src │ └── noreturncaller │ └── noreturncaller.go ├── pkg.got └── src │ └── pkg │ ├── pkg1.go │ └── pkg2.go ├── pkg.want └── src │ └── pkg │ └── pkg2.go ├── presentdouble.got └── src │ └── presentdouble │ └── presentdouble.go ├── presentdouble.want └── src │ └── presentdouble │ └── presentdouble.go ├── presentsingle.got └── src │ └── presentsingle │ └── presentsingle.go ├── presentsingle.want └── src │ └── presentsingle │ └── presentsingle.go ├── returnerrcall.got └── src │ └── returnerrcall │ └── returnerrcall.go ├── returnerrcall.want └── src │ └── returnerrcall │ └── returnerrcall.go ├── singleerror.got └── src │ └── singleerror │ └── singleerror.go ├── singleerror.want └── src │ └── singleerror │ └── singleerror.go ├── underscore.got └── src │ └── underscore │ └── underscore.go ├── underscore.want └── src │ └── underscore │ └── underscore.go ├── varanderror.got └── src │ └── varanderror │ └── varanderror.go └── varanderror.want └── src └── varanderror └── varanderror.go /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/README.md -------------------------------------------------------------------------------- /docs/expanderr.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/docs/expanderr.svg -------------------------------------------------------------------------------- /expanderr.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/expanderr.el -------------------------------------------------------------------------------- /expanderr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/expanderr.go -------------------------------------------------------------------------------- /expanderr_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/expanderr_test.go -------------------------------------------------------------------------------- /internal/srcimporter/srcimporter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/internal/srcimporter/srcimporter.go -------------------------------------------------------------------------------- /lisp/go-expanderr.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/lisp/go-expanderr.el -------------------------------------------------------------------------------- /pos.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/pos.go -------------------------------------------------------------------------------- /screencast.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/screencast.gif -------------------------------------------------------------------------------- /screencast.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/screencast.mp4 -------------------------------------------------------------------------------- /testdata/comment.got/src/comment/comment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/comment.got/src/comment/comment.go -------------------------------------------------------------------------------- /testdata/comment.want/src/comment/comment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/comment.want/src/comment/comment.go -------------------------------------------------------------------------------- /testdata/commentinline.got/src/commentinline/commentinline.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/commentinline.got/src/commentinline/commentinline.go -------------------------------------------------------------------------------- /testdata/commentinline.want/src/commentinline/commentinline.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/commentinline.want/src/commentinline/commentinline.go -------------------------------------------------------------------------------- /testdata/customtypes.got/src/customtypes/customtypes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/customtypes.got/src/customtypes/customtypes.go -------------------------------------------------------------------------------- /testdata/customtypes.want/src/customtypes/customtypes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/customtypes.want/src/customtypes/customtypes.go -------------------------------------------------------------------------------- /testdata/functionliteral.got/src/functionliteral/functionliteral.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/functionliteral.got/src/functionliteral/functionliteral.go -------------------------------------------------------------------------------- /testdata/functionliteral.want/src/functionliteral/functionliteral.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/functionliteral.want/src/functionliteral/functionliteral.go -------------------------------------------------------------------------------- /testdata/introduceerr.got/src/introduceerr/introduceerr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/introduceerr.got/src/introduceerr/introduceerr.go -------------------------------------------------------------------------------- /testdata/introduceerr.want/src/introduceerr/introduceerr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/introduceerr.want/src/introduceerr/introduceerr.go -------------------------------------------------------------------------------- /testdata/multipkg.got/src/lib/lib.go: -------------------------------------------------------------------------------- 1 | package lib 2 | 3 | func Logic() (int, error) { 4 | return 23, nil 5 | } 6 | -------------------------------------------------------------------------------- /testdata/multipkg.got/src/multipkg/multipkg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/multipkg.got/src/multipkg/multipkg.go -------------------------------------------------------------------------------- /testdata/multipkg.want/src/multipkg/multipkg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/multipkg.want/src/multipkg/multipkg.go -------------------------------------------------------------------------------- /testdata/multipkgvendor.got/src/multipkg/multipkg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/multipkgvendor.got/src/multipkg/multipkg.go -------------------------------------------------------------------------------- /testdata/multipkgvendor.got/src/multipkg/vendor/lib/lib.go: -------------------------------------------------------------------------------- 1 | package lib 2 | 3 | func Logic() (int, error) { 4 | return 23, nil 5 | } 6 | -------------------------------------------------------------------------------- /testdata/multipkgvendor.want/src/multipkg/multipkg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/multipkgvendor.want/src/multipkg/multipkg.go -------------------------------------------------------------------------------- /testdata/nocalleereturn.got/src/nocalleereturn/nocalleereturn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/nocalleereturn.got/src/nocalleereturn/nocalleereturn.go -------------------------------------------------------------------------------- /testdata/nocalleereturn.want/src/nocalleereturn/nocalleereturn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/nocalleereturn.want/src/nocalleereturn/nocalleereturn.go -------------------------------------------------------------------------------- /testdata/noerrreturn.got/src/noerrreturn/noerrreturn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/noerrreturn.got/src/noerrreturn/noerrreturn.go -------------------------------------------------------------------------------- /testdata/noerrreturn.want/src/noerrreturn/noerrreturn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/noerrreturn.want/src/noerrreturn/noerrreturn.go -------------------------------------------------------------------------------- /testdata/nointroduce.got/src/nointroduce/nointroduce.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/nointroduce.got/src/nointroduce/nointroduce.go -------------------------------------------------------------------------------- /testdata/nointroduce.want/src/nointroduce/nointroduce.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/nointroduce.want/src/nointroduce/nointroduce.go -------------------------------------------------------------------------------- /testdata/noreturncaller.got/src/noreturncaller/noreturncaller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/noreturncaller.got/src/noreturncaller/noreturncaller.go -------------------------------------------------------------------------------- /testdata/noreturncaller.want/src/noreturncaller/noreturncaller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/noreturncaller.want/src/noreturncaller/noreturncaller.go -------------------------------------------------------------------------------- /testdata/pkg.got/src/pkg/pkg1.go: -------------------------------------------------------------------------------- 1 | package pkg 2 | 3 | func logic() (string, error) { 4 | return "", nil 5 | } 6 | -------------------------------------------------------------------------------- /testdata/pkg.got/src/pkg/pkg2.go: -------------------------------------------------------------------------------- 1 | package pkg 2 | 3 | func caller() error { 4 | s := logic() 5 | } 6 | -------------------------------------------------------------------------------- /testdata/pkg.want/src/pkg/pkg2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/pkg.want/src/pkg/pkg2.go -------------------------------------------------------------------------------- /testdata/presentdouble.got/src/presentdouble/presentdouble.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/presentdouble.got/src/presentdouble/presentdouble.go -------------------------------------------------------------------------------- /testdata/presentdouble.want/src/presentdouble/presentdouble.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/presentdouble.want/src/presentdouble/presentdouble.go -------------------------------------------------------------------------------- /testdata/presentsingle.got/src/presentsingle/presentsingle.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/presentsingle.got/src/presentsingle/presentsingle.go -------------------------------------------------------------------------------- /testdata/presentsingle.want/src/presentsingle/presentsingle.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/presentsingle.want/src/presentsingle/presentsingle.go -------------------------------------------------------------------------------- /testdata/returnerrcall.got/src/returnerrcall/returnerrcall.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/returnerrcall.got/src/returnerrcall/returnerrcall.go -------------------------------------------------------------------------------- /testdata/returnerrcall.want/src/returnerrcall/returnerrcall.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/returnerrcall.want/src/returnerrcall/returnerrcall.go -------------------------------------------------------------------------------- /testdata/singleerror.got/src/singleerror/singleerror.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/singleerror.got/src/singleerror/singleerror.go -------------------------------------------------------------------------------- /testdata/singleerror.want/src/singleerror/singleerror.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/singleerror.want/src/singleerror/singleerror.go -------------------------------------------------------------------------------- /testdata/underscore.got/src/underscore/underscore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/underscore.got/src/underscore/underscore.go -------------------------------------------------------------------------------- /testdata/underscore.want/src/underscore/underscore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/underscore.want/src/underscore/underscore.go -------------------------------------------------------------------------------- /testdata/varanderror.got/src/varanderror/varanderror.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/varanderror.got/src/varanderror/varanderror.go -------------------------------------------------------------------------------- /testdata/varanderror.want/src/varanderror/varanderror.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stapelberg/expanderr/HEAD/testdata/varanderror.want/src/varanderror/varanderror.go --------------------------------------------------------------------------------