Skip to content

Commit f182f8d

Browse files
committed
modelerrors: switch from math/rand to math/rand/v2
math/rand/v2 is the preferred package since Go 1.22. The API is compatible (rand.Float64 exists in both). Assisted-By: docker-agent
1 parent c303c34 commit f182f8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/modelerrors/modelerrors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"context"
99
"errors"
1010
"log/slog"
11-
"math/rand"
11+
"math/rand/v2"
1212
"net"
1313
"net/http"
1414
"regexp"

0 commit comments

Comments
 (0)