Skip to content

Commit

Permalink
update go-libs to v0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrre committed Aug 17, 2024
1 parent 3ba9b3f commit 5972099
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion errstack/errstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func has(err error) bool {

const callersMaxLength = 1 << 16

var callersPool = syncutil.PoolFor[[]uintptr]{
var callersPool = syncutil.PoolForNotPointer[*[]uintptr]{
New: func() *[]uintptr {
v := make([]uintptr, callersMaxLength)
return &v
Expand Down
2 changes: 1 addition & 1 deletion errverbose/errverbose.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type Interface interface {
ErrorVerbose(w io.Writer)
}

var depthPool = syncutil.PoolFor[[]int]{
var depthPool = syncutil.PoolForNotPointer[*[]int]{
New: func() *[]int {
v := make([]int, 100)
return &v
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.23.0

require (
github.com/pierrre/assert v0.5.0
github.com/pierrre/go-libs v0.7.0
github.com/pierrre/go-libs v0.7.1
github.com/pierrre/pretty v0.3.4
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ github.com/pierrre/assert v0.5.0 h1:l5XuybndelAlp+FfH5Uy6wVJybcCpbU3GnwYcur+4Mo=
github.com/pierrre/assert v0.5.0/go.mod h1:a2kNx38ErwdJHGEi8a9aFDTImkoO5W/mfix2Es/Zcp0=
github.com/pierrre/compare v1.4.7 h1:wa8vWJXUj39Uzw4C+VFXseZ9u3ZD5k1jgt3iJLmvWsI=
github.com/pierrre/compare v1.4.7/go.mod h1:EfhQgoxtZiKi4e2NiCjasv6am7xqVDrVgiyUFcoorLI=
github.com/pierrre/go-libs v0.7.0 h1:uaHiD66VBLb0jF1PaWGVLKBHdRhkw0KsM5pmlUK+CO8=
github.com/pierrre/go-libs v0.7.0/go.mod h1:0g8JPnx0MUreex2DGohGhUGrmLu8u87bD5drSMfEOP0=
github.com/pierrre/go-libs v0.7.1 h1:Tx7RB1SkKfQwkkhFrcX6LJ/dUkJMzKUEbTqTy8OkkSg=
github.com/pierrre/go-libs v0.7.1/go.mod h1:haccTb6F3IFwPdPZIQtZaiA3k82zj8XzWa59M0cvecE=
github.com/pierrre/pretty v0.3.4 h1:Pxu9M/+Tfx9l03ceehyd+3LUfmIIjdr4YbYGLtAVOwc=
github.com/pierrre/pretty v0.3.4/go.mod h1:FbroWIpyd5L8P5sehyQ9sxX4YYY51oZbUN+ggNdMIuY=

0 comments on commit 5972099

Please sign in to comment.