Modify struct field setting logic. (#138) #688
Annotations
1 error and 10 warnings
|
Revive check:
encodes/hashutil/hashutil.go#L1
should have a package comment
|
Revive check:
func.go#L49
comment on exported function SafeRunWithError should be of the form "SafeRunWithError ..."
|
Revive check:
dump/dumper_test.go#L194
parameter 't' seems to be unused, consider removing or renaming it as _
|
Revive check:
encodes/encodes.go#L1
should have a package comment
|
Revive check:
sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
|
Revive check:
dump/dumper_test.go#L215
parameter 't' seems to be unused, consider removing or renaming it as _
|
Revive check:
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)
|
Revive check:
dump/dumper_test.go#L235
parameter 't' seems to be unused, consider removing or renaming it as _
|
Revive check:
testutil/httpmock.go#L31
func NewHttpRequest should be NewHTTPRequest
|
Revive check:
dump/dumper_test.go#L361
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