Skip to content

Commit 591e3a0

Browse files
author
Thomas Desveaux
committed
remove obsolete github.com/pkg/errors dependency
1 parent 6a7484b commit 591e3a0

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

app/security.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ package app
22

33
import (
44
"context"
5+
"errors"
56
"fmt"
6-
"github.com/pkg/errors"
7-
log "github.com/sirupsen/logrus"
8-
"golang.org/x/crypto/bcrypt"
97
"net/http"
108
"strings"
9+
10+
log "github.com/sirupsen/logrus"
11+
"golang.org/x/crypto/bcrypt"
1112
)
1213

1314
type contextKey int

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go 1.24
55
require (
66
github.com/fsnotify/fsnotify v1.9.0
77
github.com/magefile/mage v1.15.0
8-
github.com/pkg/errors v0.9.1
98
github.com/sirupsen/logrus v1.9.3
109
github.com/spf13/cobra v1.9.1
1110
github.com/spf13/viper v1.20.1

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ github.com/magefile/mage v1.15.0 h1:BvGheCMAsG3bWUDbZ8AyXXpCNwU9u5CB6sM+HNb9HYg=
2020
github.com/magefile/mage v1.15.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
2121
github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4=
2222
github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY=
23-
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
24-
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
2523
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
2624
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2725
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=

0 commit comments

Comments
 (0)