More linter error fixes
Most of the linter errors are,
- expected-actual: need to reverse actual and expected values (testifylint)
- non-wrapping format verb for fmt.Errorf. Use
%w
to format errors (errorlint)
Edited by Changzheng Liu
Most of the linter errors are,
%w
to format errors (errorlint)