golang: if block ends with a return statement, so drop this else and outdent its block
golang中有一条代码规范检查:ifblockendswithareturnstatement,sodropthiselseandoutdentitsblock例如以下代码:else处会提示:ifblockendswithareturnstatement,sodropthiselseandoutdentitsblockgo-lintifk8serrors.IsNotFound(err){c.de