deprecated: update for Go 1.13 and 1.14
Also fix two incorrectly formatted entries for the syscall package.
@@ -6,7 +6,6 @@ type Deprecation struct {
}
var Stdlib = map[string]Deprecation{
- "image/jpeg.Reader": {4, 0},
// FIXME(dh): AllowBinary isn't being detected as deprecated
// because the comment has a newline right after "Deprecated:"
"go/build.AllowBinary": {7, 7},
@@ -73,6 +72,14 @@ var Stdlib = map[string]Deprecation{
// This function has no alternative, but also no purpose.
"(*crypto/rc4.Cipher).Reset": {12, 0},
"(net/http/httptest.ResponseRecorder).HeaderMap": {11, 7},
+ "image.ZP": {13, 0},
+ "image.ZR": {13, 0},
+ "(*debug/gosym.LineTable).LineToPC": {2, 2},
+ "(*debug/gosym.LineTable).PCToLine": {2, 2},
+ "crypto/tls.VersionSSL30": {13, 0},
+ "(crypto/tls.Config).NameToCertificate": {14, 14},
+ "(*crypto/tls.Config).BuildNameToCertificate": {14, 14},
+ "image/jpeg.Reader": {4, 0},
// All of these have been deprecated in favour of external libraries
"syscall.AttachLsf": {7, 0},
@@ -106,7 +113,7 @@ var Stdlib = map[string]Deprecation{
"syscall.InterfaceAddrMessage": {8, 0},
"syscall.ParseRoutingMessage": {8, 0},
"syscall.ParseRoutingSockaddr": {8, 0},
- "InterfaceAnnounceMessage": {7, 0},
- "InterfaceMulticastAddrMessage": {7, 0},
+ "syscall.InterfaceAnnounceMessage": {7, 0},
+ "syscall.InterfaceMulticastAddrMessage": {7, 0},
"syscall.FormatMessage": {5, 0},
}
