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

@@ -8,8 +8,8 @@ import (
"strconv"
"time"
"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/config"
"github.com/songquanpeng/one-api/common/logger"