all: upgrade go directive to at least 1.23.0 [generated]

By now Go 1.24.0 has been released, and Go 1.22 is no longer supported
per the Go Release Policy (https://go.dev/doc/devel/release#policy).

For golang/go#69095.

[git-generate]
(cd . && go get go@1.23.0 && go mod tidy && go fix ./... && go mod edit -toolchain=none)

Change-Id: I315d8641c8a1501284ec7295493d23523afbcc0f
Reviewed-on: https://go-review.googlesource.com/c/text/+/649698
Auto-Submit: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
diff --git a/go.mod b/go.mod
index f421d92..8a18fcd 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module golang.org/x/text
 
-go 1.18
+go 1.23.0
 
 require golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // tagx:ignore