Skip to content

Commit

Permalink
chore: Remove redundant build constraint (#1650)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Nov 8, 2023
1 parent 4434c99 commit 7bd632c
Show file tree
Hide file tree
Showing 27 changed files with 0 additions and 33 deletions.
1 change: 0 additions & 1 deletion allocation_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !race
// +build !race

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion b2s_new.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build go1.20
// +build go1.20

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion b2s_old.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !go1.20
// +build !go1.20

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion bytesconv_32.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !amd64 && !arm64 && !ppc64 && !ppc64le && !s390x
// +build !amd64,!arm64,!ppc64,!ppc64le,!s390x

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion bytesconv_32_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !amd64 && !arm64 && !ppc64 && !ppc64le && !s390x
// +build !amd64,!arm64,!ppc64,!ppc64le,!s390x

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion bytesconv_64.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build amd64 || arm64 || ppc64 || ppc64le || s390x
// +build amd64 arm64 ppc64 ppc64le s390x

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion bytesconv_64_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build amd64 || arm64 || ppc64 || ppc64le || s390x
// +build amd64 arm64 ppc64 ppc64le s390x

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion bytesconv_table_gen.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

package main

Expand Down
1 change: 0 additions & 1 deletion client_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion fasthttpadaptor/b2s_new.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build go1.20
// +build go1.20

package fasthttpadaptor

Expand Down
1 change: 0 additions & 1 deletion fasthttpadaptor/b2s_old.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !go1.20
// +build !go1.20

package fasthttpadaptor

Expand Down
1 change: 0 additions & 1 deletion fuzzit/cookie/cookie_fuzz.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

package fuzz

Expand Down
1 change: 0 additions & 1 deletion fuzzit/request/request_fuzz.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

package fuzz

Expand Down
1 change: 0 additions & 1 deletion fuzzit/response/response_fuzz.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

package fuzz

Expand Down
1 change: 0 additions & 1 deletion fuzzit/url/url_fuzz.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

package fuzz

Expand Down
1 change: 0 additions & 1 deletion reuseport/reuseport.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !aix
// +build !windows,!aix

// Package reuseport provides TCP net.Listener with SO_REUSEPORT support.
//
Expand Down
1 change: 0 additions & 1 deletion round2_32.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !amd64 && !arm64 && !ppc64 && !ppc64le && !s390x
// +build !amd64,!arm64,!ppc64,!ppc64le,!s390x

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion round2_32_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !amd64 && !arm64 && !ppc64 && !ppc64le && !s390x
// +build !amd64,!arm64,!ppc64,!ppc64le,!s390x

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion round2_64.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build amd64 || arm64 || ppc64 || ppc64le || s390x
// +build amd64 arm64 ppc64 ppc64le s390x

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion round2_64_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build amd64 || arm64 || ppc64 || ppc64le || s390x
// +build amd64 arm64 ppc64 ppc64le s390x

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion s2b_new.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build go1.20
// +build go1.20

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion s2b_old.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !go1.20
// +build !go1.20

package fasthttp

Expand Down
1 change: 0 additions & 1 deletion tcp.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package fasthttp

Expand Down
3 changes: 0 additions & 3 deletions tcp_windows.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build windows
// +build windows

package fasthttp

import (
Expand Down
1 change: 0 additions & 1 deletion uri_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package fasthttp

Expand Down
3 changes: 0 additions & 3 deletions uri_windows.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build windows
// +build windows

package fasthttp

func addLeadingSlash(dst, src []byte) []byte {
Expand Down
3 changes: 0 additions & 3 deletions uri_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build windows
// +build windows

package fasthttp

import "testing"
Expand Down

0 comments on commit 7bd632c

Please sign in to comment.