[feature] add func.saferun, automatically recover error when func panic #619
Annotations
10 errors and 10 warnings
Test on go 1.19 and ubuntu-latest
Process completed with exit code 1.
|
Test on go 1.18 and windows-latest
The job was canceled because "ubuntu-latest_1_19" failed.
|
Test on go 1.18 and windows-latest
Process completed with exit code 1.
|
Test on go 1.20 and windows-latest
The job was canceled because "ubuntu-latest_1_19" failed.
|
Test on go 1.20 and windows-latest
The operation was canceled.
|
Test on go 1.19 and windows-latest
The job was canceled because "ubuntu-latest_1_19" failed.
|
Test on go 1.19 and windows-latest
The operation was canceled.
|
Test on go 1.18 and ubuntu-latest
The job was canceled because "ubuntu-latest_1_19" failed.
|
Test on go 1.18 and ubuntu-latest
The operation was canceled.
|
Test on go 1.20 and ubuntu-latest
The operation was canceled.
|
Test on go 1.20 and ubuntu-latest:
func.go#L49
comment on exported function SafeRunWithError should be of the form "SafeRunWithError ..."
|
Test on go 1.20 and ubuntu-latest:
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)
|
Test on go 1.20 and ubuntu-latest:
dump/dumper_test.go#L194
parameter 't' seems to be unused, consider removing or renaming it as _
|
Test on go 1.20 and ubuntu-latest:
dump/dumper_test.go#L235
parameter 't' seems to be unused, consider removing or renaming it as _
|
Test on go 1.20 and ubuntu-latest:
dump/dumper_test.go#L215
parameter 't' seems to be unused, consider removing or renaming it as _
|
Test on go 1.20 and ubuntu-latest:
sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
|
Test on go 1.20 and ubuntu-latest:
dump/dumper_test.go#L291
parameter 't' seems to be unused, consider removing or renaming it as _
|
Test on go 1.20 and ubuntu-latest:
dump/dumper_test.go#L365
parameter 't' seems to be unused, consider removing or renaming it as _
|
Test on go 1.20 and ubuntu-latest:
dump/dumper_test.go#L361
parameter 't' seems to be unused, consider removing or renaming it as _
|
Test on go 1.20 and ubuntu-latest:
dump/dumper_test.go#L424
parameter 't' seems to be unused, consider removing or renaming it as _
|