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

@@ -3,7 +3,7 @@ package model
import (
"fmt"
"github.com/Laisky/errors/v2"
"github.com/pkg/errors"
"github.com/songquanpeng/one-api/common"
"github.com/songquanpeng/one-api/common/config"
"github.com/songquanpeng/one-api/common/helper"