code cleanup
This commit is contained in:
parent
917be1687f
commit
5336968e05
34 changed files with 193 additions and 115 deletions
|
@ -85,7 +85,7 @@ func EscapeCaption(str string) string {
|
|||
}
|
||||
|
||||
func GetLastError(err error) error {
|
||||
var lastErr error = err
|
||||
var lastErr = err
|
||||
for {
|
||||
unwrapped := errors.Unwrap(lastErr)
|
||||
if unwrapped == nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue