This is an automated email from the ASF dual-hosted git repository.

EmryZhang pushed a commit to branch release/govaluate-legacy-build-tags
in repository https://gitbox.apache.org/repos/asf/casbin-govaluate.git

commit 7c075fbf4935ef8dfaa0e01b15c05b422f2d5e7c
Author: Zhangyanrui123 <[email protected]>
AuthorDate: Sat Nov 7 23:26:19 2026 +0800

    fix: preserve cache build constraints on older Go versions
---
 cache.go   | 1 +
 noCache.go | 1 +
 2 files changed, 2 insertions(+)

diff --git a/cache.go b/cache.go
index 8eca106..ca2a23c 100644
--- a/cache.go
+++ b/cache.go
@@ -1,4 +1,5 @@
 //go:build go1.24 && cache
+// +build go1.24,cache
 
 package govaluate
 
diff --git a/noCache.go b/noCache.go
index afec35c..eb81e9f 100644
--- a/noCache.go
+++ b/noCache.go
@@ -1,4 +1,5 @@
 //go:build !go1.24 || !cache
+// +build !go1.24 !cache
 
 package govaluate
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to