refactor: replace Laisky/errors with pkg/errors for improved error handling

This commit is contained in:
Laisky.Cai
2024-12-20 03:06:09 +00:00
parent 7851933cdf
commit 09bfd61f2e
29 changed files with 174 additions and 247 deletions

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/Laisky/errors/v2"
"github.com/pkg/errors"
"github.com/songquanpeng/one-api/common"
"github.com/songquanpeng/one-api/common/blacklist"
"github.com/songquanpeng/one-api/common/config"