Skip to content
Generate return statements in Go code
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead of 110y:master.
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE first version Feb 4, 2018 Basic start of gosodoff Aug 7, 2019
go.mod Basic start of gosodoff Aug 7, 2019
main.go Write err for errcheck, not nil Aug 8, 2019

gosodoff tells your control flow to sod off by generating a return statement.

Mostly intended for tool integration, e.g. ;e and ;r in gopher.vim.

Unifies goreturn and goiferr.

You can’t perform that action at this time.