diff --git a/cookie_entry_pre_go1.23.go b/cookie_entry.go similarity index 93% rename from cookie_entry_pre_go1.23.go rename to cookie_entry.go index f64e6d9..613c219 100644 --- a/cookie_entry_pre_go1.23.go +++ b/cookie_entry.go @@ -1,4 +1,4 @@ -//go:build go1.20 || go1.21 || go1.22 +//go:build !go1.23 // 小于go1.20的版本会在编译时报错 diff --git a/cookie_entry_go1.23.go b/cookie_entry_go1.23.go index 4203a33..894cecd 100644 --- a/cookie_entry_go1.23.go +++ b/cookie_entry_go1.23.go @@ -1,4 +1,4 @@ -//go:build !(go1.20 || go1.21 || go1.22) +//go:build go1.23 package openwechat