1
0
Fork 0

chore: update to go1.20

This commit is contained in:
Ludovic Fernandez 2023-02-23 15:06:05 +01:00 committed by GitHub
parent dd710dbeb7
commit 7202038649
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 13 additions and 11 deletions

View file

@ -3,8 +3,8 @@ package buffering
import (
"bytes"
"context"
"crypto/rand"
"math"
"math/rand"
"net/http"
"net/http/httptest"
"testing"
@ -16,7 +16,7 @@ import (
func TestBuffering(t *testing.T) {
payload := make([]byte, math.MaxInt8)
rand.Read(payload)
_, _ = rand.Read(payload)
testCases := []struct {
desc string