mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 05:05:23 +00:00
fix(json): update build constraints for Go version comp (#6064)
Signed-off-by: Dwi Siswanto <git@dw1.io>
This commit is contained in:
parent
cbd90df51c
commit
047d49f6f3
@ -1,8 +1,8 @@
|
||||
// Package json provides fast JSON encoding and decoding functionality.
|
||||
//
|
||||
// On supported platforms; Linux, Darwin, or Windows on amd64, or on arm64 with
|
||||
// Go 1.20 or later, the package uses the high-performance [sonic] library. On
|
||||
// any other systems, it gracefully falls back to using the [go-json]
|
||||
// Go >= 1.20 and <= 1.23, the package uses the high-performance [sonic] library.
|
||||
// On any other systems, it gracefully falls back to using the [go-json]
|
||||
// implementation.
|
||||
//
|
||||
// This package acts as a wrapper around the underlying JSON APIs, offering
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
//go:build (linux || darwin || windows) && (amd64 || arm64)
|
||||
//go:build !go1.24 && (linux || darwin || windows) && (amd64 || arm64)
|
||||
// +build !go1.24
|
||||
// +build linux darwin windows
|
||||
// +build amd64 arm64
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
//go:build !((linux || darwin || windows) && (amd64 || arm64))
|
||||
// +build !linux,!darwin,!windows !amd64,!arm64
|
||||
//go:build go1.24 || !(linux || darwin || windows) || !(amd64 || arm64)
|
||||
// +build go1.24 !linux,!darwin,!windows !amd64,!arm64
|
||||
|
||||
package json
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user