[feature] add func.saferun, automatically recover error when func panic #619
Annotations
1 error and 10 warnings
|
func.go#L49
comment on exported function SafeRunWithError should be of the form "SafeRunWithError ..."
|
fmtutil/format.go#L68
if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
|
dump/dumper_test.go#L194
parameter 't' seems to be unused, consider removing or renaming it as _
|
dump/dumper_test.go#L235
parameter 't' seems to be unused, consider removing or renaming it as _
|
dump/dumper_test.go#L215
parameter 't' seems to be unused, consider removing or renaming it as _
|
sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
|
dump/dumper_test.go#L291
parameter 't' seems to be unused, consider removing or renaming it as _
|
dump/dumper_test.go#L365
parameter 't' seems to be unused, consider removing or renaming it as _
|
dump/dumper_test.go#L361
parameter 't' seems to be unused, consider removing or renaming it as _
|
dump/dumper_test.go#L424
parameter 't' seems to be unused, consider removing or renaming it as _
|
The logs for this run have expired and are no longer available.
Loading