Skip to content

Commit 6a3e019

Browse files
Merge branch 'golang:master' into main
2 parents 37e3779 + 79edd1d commit 6a3e019

File tree

1,121 files changed

+29258
-31631
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,121 files changed

+29258
-31631
lines changed

.github/ISSUE_TEMPLATE/01-pkgsite.md

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Please paste a screenshot of the page.
3434

3535
<!--
3636
If possible, provide a recipe for reproducing the error.
37+
38+
Starting with a Private/Incognito tab/window may help rule out problematic browser extensions.
3739
-->
3840

3941

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ _testmain.go
4040
/src/internal/buildcfg/zbootstrap.go
4141
/src/runtime/internal/sys/zversion.go
4242
/src/unicode/maketables
43+
/src/time/tzdata/zzipdata.go
4344
/test.out
4445
/test/garbage/*.out
4546
/test/pass.out

api/go1.16.txt

+8,026
Large diffs are not rendered by default.

api/go1.17.txt

+17
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ pkg math (darwin-amd64), const MinInt = -9223372036854775808
6969
pkg math (darwin-amd64-cgo), const MaxInt = 9223372036854775807
7070
pkg math (darwin-amd64-cgo), const MaxUint = 18446744073709551615
7171
pkg math (darwin-amd64-cgo), const MinInt = -9223372036854775808
72+
pkg math (darwin-arm64), const MaxInt = 9223372036854775807
73+
pkg math (darwin-arm64), const MaxUint = 18446744073709551615
74+
pkg math (darwin-arm64), const MinInt = -9223372036854775808
75+
pkg math (darwin-arm64-cgo), const MaxInt = 9223372036854775807
76+
pkg math (darwin-arm64-cgo), const MaxUint = 18446744073709551615
77+
pkg math (darwin-arm64-cgo), const MinInt = -9223372036854775808
7278
pkg math (freebsd-386), const MaxInt = 2147483647
7379
pkg math (freebsd-386), const MaxUint = 4294967295
7480
pkg math (freebsd-386), const MinInt = -2147483648
@@ -162,10 +168,15 @@ pkg reflect, func VisibleFields(Type) []StructField
162168
pkg reflect, method (Method) IsExported() bool
163169
pkg reflect, method (StructField) IsExported() bool
164170
pkg reflect, method (Value) CanConvert(Type) bool
171+
pkg reflect, method (Value) InterfaceData //deprecated
165172
pkg runtime/cgo (darwin-amd64-cgo), func NewHandle(interface{}) Handle
166173
pkg runtime/cgo (darwin-amd64-cgo), method (Handle) Delete()
167174
pkg runtime/cgo (darwin-amd64-cgo), method (Handle) Value() interface{}
168175
pkg runtime/cgo (darwin-amd64-cgo), type Handle uintptr
176+
pkg runtime/cgo (darwin-arm64-cgo), func NewHandle(interface{}) Handle
177+
pkg runtime/cgo (darwin-arm64-cgo), method (Handle) Delete()
178+
pkg runtime/cgo (darwin-arm64-cgo), method (Handle) Value() interface{}
179+
pkg runtime/cgo (darwin-arm64-cgo), type Handle uintptr
169180
pkg runtime/cgo (freebsd-386-cgo), func NewHandle(interface{}) Handle
170181
pkg runtime/cgo (freebsd-386-cgo), method (Handle) Delete()
171182
pkg runtime/cgo (freebsd-386-cgo), method (Handle) Value() interface{}
@@ -257,8 +268,14 @@ pkg syscall (openbsd-amd64), const MSG_CMSG_CLOEXEC = 2048
257268
pkg syscall (openbsd-amd64), const MSG_CMSG_CLOEXEC ideal-int
258269
pkg syscall (openbsd-amd64-cgo), const MSG_CMSG_CLOEXEC = 2048
259270
pkg syscall (openbsd-amd64-cgo), const MSG_CMSG_CLOEXEC ideal-int
271+
pkg syscall (windows-386), func CreateIoCompletionPort //deprecated
272+
pkg syscall (windows-386), func GetQueuedCompletionStatus //deprecated
273+
pkg syscall (windows-386), func PostQueuedCompletionStatus //deprecated
260274
pkg syscall (windows-386), type SysProcAttr struct, AdditionalInheritedHandles []Handle
261275
pkg syscall (windows-386), type SysProcAttr struct, ParentProcess Handle
276+
pkg syscall (windows-amd64), func CreateIoCompletionPort //deprecated
277+
pkg syscall (windows-amd64), func GetQueuedCompletionStatus //deprecated
278+
pkg syscall (windows-amd64), func PostQueuedCompletionStatus //deprecated
262279
pkg syscall (windows-amd64), type SysProcAttr struct, AdditionalInheritedHandles []Handle
263280
pkg syscall (windows-amd64), type SysProcAttr struct, ParentProcess Handle
264281
pkg testing, method (*B) Setenv(string, string)

api/go1.18.txt

+20-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
pkg bufio, method (*Writer) AvailableBuffer() []uint8
22
pkg bufio, method (ReadWriter) AvailableBuffer() []uint8
33
pkg bytes, func Cut([]uint8, []uint8) ([]uint8, []uint8, bool)
4+
pkg bytes, func Title //deprecated
45
pkg crypto/tls, method (*Conn) NetConn() net.Conn
6+
pkg crypto/tls, type Config struct, PreferServerCipherSuites //deprecated
7+
pkg crypto/x509, method (*CertPool) Subjects //deprecated
58
pkg debug/buildinfo, func Read(io.ReaderAt) (*debug.BuildInfo, error)
69
pkg debug/buildinfo, func ReadFile(string) (*debug.BuildInfo, error)
710
pkg debug/buildinfo, type BuildInfo = debug.BuildInfo
8-
pkg debug/elf, const R_PPC64_RELATIVE = 22
9-
pkg debug/elf, const R_PPC64_RELATIVE R_PPC64
1011
pkg debug/dwarf, type BasicType struct, DataBitOffset int64
1112
pkg debug/dwarf, type StructField struct, DataBitOffset int64
13+
pkg debug/elf, const R_PPC64_RELATIVE = 22
14+
pkg debug/elf, const R_PPC64_RELATIVE R_PPC64
1215
pkg debug/plan9obj, var ErrNoSymbols error
1316
pkg go/ast, method (*IndexListExpr) End() token.Pos
1417
pkg go/ast, method (*IndexListExpr) Pos() token.Pos
@@ -24,6 +27,7 @@ pkg go/token, const TILDE = 88
2427
pkg go/token, const TILDE Token
2528
pkg go/types, func Instantiate(*Context, Type, []Type, bool) (Type, error)
2629
pkg go/types, func NewContext() *Context
30+
pkg go/types, func NewSignature //deprecated
2731
pkg go/types, func NewSignatureType(*Var, []*TypeParam, []*TypeParam, *Tuple, *Tuple, bool) *Signature
2832
pkg go/types, func NewTerm(bool, Type) *Term
2933
pkg go/types, func NewTypeParam(*TypeName, Type) *TypeParam
@@ -81,6 +85,7 @@ pkg net, method (*UDPConn) ReadFromUDPAddrPort([]uint8) (int, netip.AddrPort, er
8185
pkg net, method (*UDPConn) ReadMsgUDPAddrPort([]uint8, []uint8) (int, int, int, netip.AddrPort, error)
8286
pkg net, method (*UDPConn) WriteMsgUDPAddrPort([]uint8, []uint8, netip.AddrPort) (int, int, error)
8387
pkg net, method (*UDPConn) WriteToUDPAddrPort([]uint8, netip.AddrPort) (int, error)
88+
pkg net, type Error interface, Temporary //deprecated
8489
pkg net/http, func MaxBytesHandler(Handler, int64) Handler
8590
pkg net/http, method (*Cookie) Valid() error
8691
pkg net/netip, func AddrFrom16([16]uint8) Addr
@@ -174,6 +179,7 @@ pkg runtime/debug, type BuildSetting struct, Key string
174179
pkg runtime/debug, type BuildSetting struct, Value string
175180
pkg strings, func Clone(string) string
176181
pkg strings, func Cut(string, string) (string, string, bool)
182+
pkg strings, func Title //deprecated
177183
pkg sync, method (*Mutex) TryLock() bool
178184
pkg sync, method (*RWMutex) TryLock() bool
179185
pkg sync, method (*RWMutex) TryRLock() bool
@@ -183,7 +189,19 @@ pkg syscall (freebsd-amd64), type SysProcAttr struct, Pdeathsig Signal
183189
pkg syscall (freebsd-amd64-cgo), type SysProcAttr struct, Pdeathsig Signal
184190
pkg syscall (freebsd-arm), type SysProcAttr struct, Pdeathsig Signal
185191
pkg syscall (freebsd-arm-cgo), type SysProcAttr struct, Pdeathsig Signal
192+
pkg syscall (windows-386), func Syscall //deprecated
193+
pkg syscall (windows-386), func Syscall12 //deprecated
194+
pkg syscall (windows-386), func Syscall15 //deprecated
195+
pkg syscall (windows-386), func Syscall18 //deprecated
196+
pkg syscall (windows-386), func Syscall6 //deprecated
197+
pkg syscall (windows-386), func Syscall9 //deprecated
186198
pkg syscall (windows-386), func SyscallN(uintptr, ...uintptr) (uintptr, uintptr, Errno)
199+
pkg syscall (windows-amd64), func Syscall //deprecated
200+
pkg syscall (windows-amd64), func Syscall12 //deprecated
201+
pkg syscall (windows-amd64), func Syscall15 //deprecated
202+
pkg syscall (windows-amd64), func Syscall18 //deprecated
203+
pkg syscall (windows-amd64), func Syscall6 //deprecated
204+
pkg syscall (windows-amd64), func Syscall9 //deprecated
187205
pkg syscall (windows-amd64), func SyscallN(uintptr, ...uintptr) (uintptr, uintptr, Errno)
188206
pkg testing, func MainStart(testDeps, []InternalTest, []InternalBenchmark, []InternalFuzzTarget, []InternalExample) *M
189207
pkg testing, method (*F) Add(...interface{})

api/go1.19.txt

+17
Original file line numberDiff line numberDiff line change
@@ -290,3 +290,20 @@ pkg sync/atomic, type Uint64 struct #50860
290290
pkg sync/atomic, type Uintptr struct #50860
291291
pkg time, method (Duration) Abs() Duration #51414
292292
pkg time, method (Time) ZoneBounds() (Time, Time) #50062
293+
pkg crypto/x509, func ParseCRL //deprecated #50674
294+
pkg crypto/x509, func ParseDERCRL //deprecated #50674
295+
pkg crypto/x509, method (*Certificate) CheckCRLSignature //deprecated #50674
296+
pkg crypto/x509, method (*Certificate) CreateCRL //deprecated #50674
297+
pkg crypto/x509/pkix, type CertificateList //deprecated #50674
298+
pkg crypto/x509/pkix, type TBSCertificateList //deprecated #50674
299+
pkg go/doc, func Synopsis //deprecated #51082
300+
pkg go/doc, func ToHTML //deprecated #51082
301+
pkg go/doc, func ToText //deprecated #51082
302+
pkg io/ioutil, func NopCloser //deprecated #42026
303+
pkg io/ioutil, func ReadAll //deprecated #42026
304+
pkg io/ioutil, func ReadDir //deprecated #42026
305+
pkg io/ioutil, func ReadFile //deprecated #42026
306+
pkg io/ioutil, func TempDir //deprecated #42026
307+
pkg io/ioutil, func TempFile //deprecated #42026
308+
pkg io/ioutil, func WriteFile //deprecated #42026
309+
pkg io/ioutil, var Discard //deprecated #42026

0 commit comments

Comments
 (0)