Update go version to 1.21. (#6533)

Signed-off-by: Lan Liang <gcslyp@gmail.com>
This commit is contained in:
Lan
2024-03-10 19:32:25 +08:00
committed by GitHub
parent 8e783897a2
commit 218ceb3737
3 changed files with 13 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ out-of-tree plugins.
To compile CoreDNS, we assume you have a working Go setup. See various tutorials if you dont have
that already configured.
First, make sure your golang version is 1.20 or higher as `go mod` support and other api is needed.
First, make sure your golang version is 1.21 or higher as `go mod` support and other api is needed.
See [here](https://github.com/golang/go/wiki/Modules) for `go mod` details.
Then, check out the project and run `make` to compile the binary: