From bd68b90827afd59411d6e996561f377517124291 Mon Sep 17 00:00:00 2001 From: RyuaNerin Date: Wed, 17 Jan 2024 14:39:39 +0900 Subject: [PATCH] fixed go 1.20 further introduced functions --- internal/ptr/util.go | 4 ++-- internal/ptr/{util_go119.go => util_go120.go} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename internal/ptr/{util_go119.go => util_go120.go} (87%) diff --git a/internal/ptr/util.go b/internal/ptr/util.go index 2caa768..693b6a2 100644 --- a/internal/ptr/util.go +++ b/internal/ptr/util.go @@ -1,5 +1,5 @@ -//go:build !go1.19 -// +build !go1.19 +//go:build !go1.20 +// +build !go1.20 package ptr diff --git a/internal/ptr/util_go119.go b/internal/ptr/util_go120.go similarity index 87% rename from internal/ptr/util_go119.go rename to internal/ptr/util_go120.go index d8d3fbb..9e61d95 100644 --- a/internal/ptr/util_go119.go +++ b/internal/ptr/util_go120.go @@ -1,5 +1,5 @@ -//go:build go1.19 -// +build go1.19 +//go:build go1.20 +// +build go1.20 package ptr