Skip to content

Commit

Permalink
update redigo for Sorted.Create.Score (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
xh3b4sd committed Sep 27, 2023
1 parent 486714c commit 076a538
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/xh3b4sd/budget/v3 v3.3.0
github.com/xh3b4sd/logger v0.7.0
github.com/xh3b4sd/random v0.6.3
github.com/xh3b4sd/redigo v0.34.5
github.com/xh3b4sd/redigo v0.34.6
github.com/xh3b4sd/tracer v0.10.1
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ github.com/xh3b4sd/logger v0.7.0 h1:ByA3u/NmzL0X27wDX36ur+s9J8t2f8V/iK/P7ZrIVEo=
github.com/xh3b4sd/logger v0.7.0/go.mod h1:04/tPVBNATOPacEMTA72ImKCUWhT7+SDLcuPngkyJr0=
github.com/xh3b4sd/random v0.6.3 h1:E4s0QGcgZAqiBWFZmmfiHnN/jfqCp+2eB3EB+UFnScU=
github.com/xh3b4sd/random v0.6.3/go.mod h1:HmtM9mpjIW9gUoPIIupZmOSqwGkpkOROSn3YResnKFY=
github.com/xh3b4sd/redigo v0.34.5 h1:tYphUgy7gy3kN7k83nPyLrwdBjcr2AR68nK5cvZbEaU=
github.com/xh3b4sd/redigo v0.34.5/go.mod h1:FezZ2igUyrLcJvR6RLvD/YpGL1GCbVY6bGQfJ6S4pYk=
github.com/xh3b4sd/redigo v0.34.6 h1:LgLi7PV0EYOQe3NFtCn08F5l4bFEZZZF3D8il5Dx+/U=
github.com/xh3b4sd/redigo v0.34.6/go.mod h1:FezZ2igUyrLcJvR6RLvD/YpGL1GCbVY6bGQfJ6S4pYk=
github.com/xh3b4sd/tracer v0.10.1 h1:wuzVeQtqYsy51Nkb7P/XavZ8rQYptxxmlM1ivFJ8dXE=
github.com/xh3b4sd/tracer v0.10.1/go.mod h1:8nRbNXXhSSDmPfyoRRYgwQt/RpzAUH+zNsagP9InH8M=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down
2 changes: 1 addition & 1 deletion pkg/engine/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (e *Engine) create(tas *task.Task) error {
v := task.ToString(tas)
s := tid

err = e.red.Sorted().Create().Value(k, v, s)
err = e.red.Sorted().Create().Score(k, v, s)
if err != nil {
return tracer.Mask(err)
}
Expand Down

0 comments on commit 076a538

Please sign in to comment.