From c18d8d6968cb175703942631f0094ffb415f51f4 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 2 May 2022 23:22:45 +0800 Subject: Remove legacy `+build:` constraint (#19582) Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed. --- modules/graceful/net_unix.go | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/graceful/net_unix.go') diff --git a/modules/graceful/net_unix.go b/modules/graceful/net_unix.go index 6ffa8150cc..680ff529af 100644 --- a/modules/graceful/net_unix.go +++ b/modules/graceful/net_unix.go @@ -4,7 +4,6 @@ // This code is heavily inspired by the archived gofacebook/gracenet/net.go handler //go:build !windows -// +build !windows package graceful -- cgit v1.2.3