From 68fe6d40377a5746b6351a96aa795318a1343677 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 8 Jan 2016 20:06:04 +0000 Subject: [PATCH] api: more go1.6 API additions Change-Id: Ib838d2b98e3f84ffd240849817cafc69415ba74e Reviewed-on: https://go-review.googlesource.com/18376 Reviewed-by: Russ Cox Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- api/go1.6.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/go1.6.txt b/api/go1.6.txt index 93669258453..109ce7a05c2 100644 --- a/api/go1.6.txt +++ b/api/go1.6.txt @@ -185,6 +185,7 @@ pkg go/constant, func ToComplex(Value) Value pkg go/constant, func ToFloat(Value) Value pkg go/constant, func ToInt(Value) Value pkg go/constant, type Value interface, ExactString() string +pkg go/types, method (*Package) SetName(string) pkg html/template, func IsTrue(interface{}) (bool, bool) pkg html/template, method (*Template) DefinedTemplates() string pkg image, func NewNYCbCrA(Rectangle, YCbCrSubsampleRatio) *NYCbCrA @@ -241,6 +242,8 @@ pkg net/http, const StatusRequestHeaderFieldsTooLarge = 431 pkg net/http, const StatusRequestHeaderFieldsTooLarge ideal-int pkg net/http, const StatusTooManyRequests = 429 pkg net/http, const StatusTooManyRequests ideal-int +pkg net/http, const StatusUnavailableForLegalReasons = 451 +pkg net/http, const StatusUnavailableForLegalReasons ideal-int pkg net/http, type Transport struct, ExpectContinueTimeout time.Duration pkg net/http, type Transport struct, TLSNextProto map[string]func(string, *tls.Conn) RoundTripper pkg net/http, var ErrSkipAltProtocol error