From 6c2c781e9d090ab20a22dd9111682ebaf8cb6514 Mon Sep 17 00:00:00 2001 From: web3-bot Date: Fri, 15 Oct 2021 11:53:09 +0000 Subject: [PATCH 1/2] bump go.mod to Go 1.16 and run go fix --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index f952aa3..d241fee 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/libp2p/go-buffer-pool -go 1.15 +go 1.16 From aa5ddcc57ef0f4d5cac7adcaf37993d94a72bb41 Mon Sep 17 00:00:00 2001 From: web3-bot Date: Fri, 15 Oct 2021 11:53:11 +0000 Subject: [PATCH 2/2] run gofmt -s --- pool_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pool_test.go b/pool_test.go index 4b5ff7a..1b604e5 100644 --- a/pool_test.go +++ b/pool_test.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // Pool is no-op under race detector, so all these tests do not work. +//go:build !race // +build !race package pool