@@ -338,7 +338,7 @@ directive, made up of a keyword followed by arguments. For example:
338
338
```
339
339
module example.com/my/thing
340
340
341
- go 1.12
341
+ go 1.23.0
342
342
343
343
require example.com/other/thing v1.0.2
344
344
require example.com/new/thing/v2 v2.3.4
@@ -546,7 +546,7 @@ major version. Individual minor and patch versions cannot be deprecated;
546
546
547
547
A ` go ` directive indicates that a module was written assuming the semantics of a
548
548
given version of Go. The version must be a valid [ Go version] ( /doc/toolchain#version ) ,
549
- such as ` 1.9 ` , ` 1.14 ` , or ` 1.21rc1 ` .
549
+ such as ` 1.14 ` , ` 1.21rc1 ` , or ` 1.23.0 ` .
550
550
551
551
The ` go ` directive sets the minimum version of Go required to use this module.
552
552
Before Go 1.21, the directive was advisory only; now it is a mandatory requirement:
@@ -615,7 +615,7 @@ GoVersion = string | ident . /* valid release version; see above */
615
615
Example:
616
616
617
617
```
618
- go 1.14
618
+ go 1.23.0
619
619
```
620
620
621
621
### ` toolchain ` directive {#go-mod-file-toolchain}
@@ -959,7 +959,7 @@ For example, consider this `go.mod` file:
959
959
```
960
960
module example.com/M
961
961
962
- go 1.16
962
+ go 1.23.0
963
963
964
964
require (
965
965
example.com/A v1
@@ -1218,7 +1218,7 @@ A workspace is defined by a UTF-8 encoded text file named `go.work`. The
1218
1218
a keyword followed by arguments. For example:
1219
1219
1220
1220
```
1221
- go 1.18
1221
+ go 1.23.0
1222
1222
1223
1223
use ./my/first/thing
1224
1224
use ./my/second/thing
@@ -1318,7 +1318,7 @@ GoVersion = string | ident . /* valid release version; see above */
1318
1318
Example:
1319
1319
1320
1320
```
1321
- go 1.18
1321
+ go 1.23.0
1322
1322
```
1323
1323
1324
1324
### ` toolchain ` directive {#go-work-file-toolchain}
0 commit comments