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,8 +4,8 @@ import (
"io"
"net/http"
"github.com/Laisky/errors/v2"
"github.com/gin-gonic/gin"
"github.com/pkg/errors"
"github.com/songquanpeng/one-api/common/client"
"github.com/songquanpeng/one-api/common/ctxkey"
"github.com/songquanpeng/one-api/relay/meta"