diff options
author | Oleksandr Redko <Oleksandr_Redko@epam.com> | 2023-11-09 00:18:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 23:18:13 +0100 |
commit | 7bd632cbde54f592d0e093dcf6f592aeb7dc5ed8 (patch) | |
tree | 844b50df017c603dc058012b7a95b11dcb80756a | |
parent | chore: Rename coarseTime.go to coarsetime.go (#1651) (diff) | |
download | fasthttp-7bd632cbde54f592d0e093dcf6f592aeb7dc5ed8.tar.gz fasthttp-7bd632cbde54f592d0e093dcf6f592aeb7dc5ed8.tar.bz2 fasthttp-7bd632cbde54f592d0e093dcf6f592aeb7dc5ed8.zip |
chore: Remove redundant build constraint (#1650)
-rw-r--r-- | allocation_test.go | 1 | ||||
-rw-r--r-- | b2s_new.go | 1 | ||||
-rw-r--r-- | b2s_old.go | 1 | ||||
-rw-r--r-- | bytesconv_32.go | 1 | ||||
-rw-r--r-- | bytesconv_32_test.go | 1 | ||||
-rw-r--r-- | bytesconv_64.go | 1 | ||||
-rw-r--r-- | bytesconv_64_test.go | 1 | ||||
-rw-r--r-- | bytesconv_table_gen.go | 1 | ||||
-rw-r--r-- | client_unix_test.go | 1 | ||||
-rw-r--r-- | fasthttpadaptor/b2s_new.go | 1 | ||||
-rw-r--r-- | fasthttpadaptor/b2s_old.go | 1 | ||||
-rw-r--r-- | fuzzit/cookie/cookie_fuzz.go | 1 | ||||
-rw-r--r-- | fuzzit/request/request_fuzz.go | 1 | ||||
-rw-r--r-- | fuzzit/response/response_fuzz.go | 1 | ||||
-rw-r--r-- | fuzzit/url/url_fuzz.go | 1 | ||||
-rw-r--r-- | reuseport/reuseport.go | 1 | ||||
-rw-r--r-- | round2_32.go | 1 | ||||
-rw-r--r-- | round2_32_test.go | 1 | ||||
-rw-r--r-- | round2_64.go | 1 | ||||
-rw-r--r-- | round2_64_test.go | 1 | ||||
-rw-r--r-- | s2b_new.go | 1 | ||||
-rw-r--r-- | s2b_old.go | 1 | ||||
-rw-r--r-- | tcp.go | 1 | ||||
-rw-r--r-- | tcp_windows.go | 3 | ||||
-rw-r--r-- | uri_unix.go | 1 | ||||
-rw-r--r-- | uri_windows.go | 3 | ||||
-rw-r--r-- | uri_windows_test.go | 3 |
27 files changed, 0 insertions, 33 deletions
diff --git a/allocation_test.go b/allocation_test.go index 348fef1..477665a 100644 --- a/allocation_test.go +++ b/allocation_test.go @@ -1,5 +1,4 @@ //go:build !race -// +build !race package fasthttp @@ -1,5 +1,4 @@ //go:build go1.20 -// +build go1.20 package fasthttp @@ -1,5 +1,4 @@ //go:build !go1.20 -// +build !go1.20 package fasthttp diff --git a/bytesconv_32.go b/bytesconv_32.go index b574883..baa9459 100644 --- a/bytesconv_32.go +++ b/bytesconv_32.go @@ -1,5 +1,4 @@ //go:build !amd64 && !arm64 && !ppc64 && !ppc64le && !s390x -// +build !amd64,!arm64,!ppc64,!ppc64le,!s390x package fasthttp diff --git a/bytesconv_32_test.go b/bytesconv_32_test.go index 3f5d5de..b954bba 100644 --- a/bytesconv_32_test.go +++ b/bytesconv_32_test.go @@ -1,5 +1,4 @@ //go:build !amd64 && !arm64 && !ppc64 && !ppc64le && !s390x -// +build !amd64,!arm64,!ppc64,!ppc64le,!s390x package fasthttp diff --git a/bytesconv_64.go b/bytesconv_64.go index 94d0ec6..e7c01bb 100644 --- a/bytesconv_64.go +++ b/bytesconv_64.go @@ -1,5 +1,4 @@ //go:build amd64 || arm64 || ppc64 || ppc64le || s390x -// +build amd64 arm64 ppc64 ppc64le s390x package fasthttp diff --git a/bytesconv_64_test.go b/bytesconv_64_test.go index 0689809..8eb5030 100644 --- a/bytesconv_64_test.go +++ b/bytesconv_64_test.go @@ -1,5 +1,4 @@ //go:build amd64 || arm64 || ppc64 || ppc64le || s390x -// +build amd64 arm64 ppc64 ppc64le s390x package fasthttp diff --git a/bytesconv_table_gen.go b/bytesconv_table_gen.go index 40819bf..c9231a2 100644 --- a/bytesconv_table_gen.go +++ b/bytesconv_table_gen.go @@ -1,5 +1,4 @@ //go:build ignore -// +build ignore package main diff --git a/client_unix_test.go b/client_unix_test.go index 21f4ced..0a49b13 100644 --- a/client_unix_test.go +++ b/client_unix_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows package fasthttp diff --git a/fasthttpadaptor/b2s_new.go b/fasthttpadaptor/b2s_new.go index 09ef72a..6246e30 100644 --- a/fasthttpadaptor/b2s_new.go +++ b/fasthttpadaptor/b2s_new.go @@ -1,5 +1,4 @@ //go:build go1.20 -// +build go1.20 package fasthttpadaptor diff --git a/fasthttpadaptor/b2s_old.go b/fasthttpadaptor/b2s_old.go index 08e2ac6..a025198 100644 --- a/fasthttpadaptor/b2s_old.go +++ b/fasthttpadaptor/b2s_old.go @@ -1,5 +1,4 @@ //go:build !go1.20 -// +build !go1.20 package fasthttpadaptor diff --git a/fuzzit/cookie/cookie_fuzz.go b/fuzzit/cookie/cookie_fuzz.go index a1cce1e..929513f 100644 --- a/fuzzit/cookie/cookie_fuzz.go +++ b/fuzzit/cookie/cookie_fuzz.go @@ -1,5 +1,4 @@ //go:build gofuzz -// +build gofuzz package fuzz diff --git a/fuzzit/request/request_fuzz.go b/fuzzit/request/request_fuzz.go index 93cf16d..84b13e8 100644 --- a/fuzzit/request/request_fuzz.go +++ b/fuzzit/request/request_fuzz.go @@ -1,5 +1,4 @@ //go:build gofuzz -// +build gofuzz package fuzz diff --git a/fuzzit/response/response_fuzz.go b/fuzzit/response/response_fuzz.go index 76bf54a..fe2a727 100644 --- a/fuzzit/response/response_fuzz.go +++ b/fuzzit/response/response_fuzz.go @@ -1,5 +1,4 @@ //go:build gofuzz -// +build gofuzz package fuzz diff --git a/fuzzit/url/url_fuzz.go b/fuzzit/url/url_fuzz.go index cc61949..1e7c5a2 100644 --- a/fuzzit/url/url_fuzz.go +++ b/fuzzit/url/url_fuzz.go @@ -1,5 +1,4 @@ //go:build gofuzz -// +build gofuzz package fuzz diff --git a/reuseport/reuseport.go b/reuseport/reuseport.go index 6e13acb..8ad9b06 100644 --- a/reuseport/reuseport.go +++ b/reuseport/reuseport.go @@ -1,5 +1,4 @@ //go:build !windows && !aix -// +build !windows,!aix // Package reuseport provides TCP net.Listener with SO_REUSEPORT support. // diff --git a/round2_32.go b/round2_32.go index 2990e42..f7276fc 100644 --- a/round2_32.go +++ b/round2_32.go @@ -1,5 +1,4 @@ //go:build !amd64 && !arm64 && !ppc64 && !ppc64le && !s390x -// +build !amd64,!arm64,!ppc64,!ppc64le,!s390x package fasthttp diff --git a/round2_32_test.go b/round2_32_test.go index 1bb2c0d..51dc2f5 100644 --- a/round2_32_test.go +++ b/round2_32_test.go @@ -1,5 +1,4 @@ //go:build !amd64 && !arm64 && !ppc64 && !ppc64le && !s390x -// +build !amd64,!arm64,!ppc64,!ppc64le,!s390x package fasthttp diff --git a/round2_64.go b/round2_64.go index 8a8e2a2..e74368c 100644 --- a/round2_64.go +++ b/round2_64.go @@ -1,5 +1,4 @@ //go:build amd64 || arm64 || ppc64 || ppc64le || s390x -// +build amd64 arm64 ppc64 ppc64le s390x package fasthttp diff --git a/round2_64_test.go b/round2_64_test.go index d805802..2509ce9 100644 --- a/round2_64_test.go +++ b/round2_64_test.go @@ -1,5 +1,4 @@ //go:build amd64 || arm64 || ppc64 || ppc64le || s390x -// +build amd64 arm64 ppc64 ppc64le s390x package fasthttp @@ -1,5 +1,4 @@ //go:build go1.20 -// +build go1.20 package fasthttp @@ -1,5 +1,4 @@ //go:build !go1.20 -// +build !go1.20 package fasthttp @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows package fasthttp diff --git a/tcp_windows.go b/tcp_windows.go index 5c33025..d71950b 100644 --- a/tcp_windows.go +++ b/tcp_windows.go @@ -1,6 +1,3 @@ -//go:build windows -// +build windows - package fasthttp import ( diff --git a/uri_unix.go b/uri_unix.go index c2ac8fa..1226fc9 100644 --- a/uri_unix.go +++ b/uri_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows package fasthttp diff --git a/uri_windows.go b/uri_windows.go index 903fba7..46f4b07 100644 --- a/uri_windows.go +++ b/uri_windows.go @@ -1,6 +1,3 @@ -//go:build windows -// +build windows - package fasthttp func addLeadingSlash(dst, src []byte) []byte { diff --git a/uri_windows_test.go b/uri_windows_test.go index 7e66968..bec110e 100644 --- a/uri_windows_test.go +++ b/uri_windows_test.go @@ -1,6 +1,3 @@ -//go:build windows -// +build windows - package fasthttp import "testing" |