diff --git a/doc/go1.1.html b/doc/go1.1.html index ae0a099395373a..9312e69f94d8c2 100644 --- a/doc/go1.1.html +++ b/doc/go1.1.html @@ -9,6 +9,7 @@
int
is only 32 bits may change behavior.
@@ -129,8 +131,27 @@ +TODO introduction +
+ ++TODO +
+Previous versions of the debug/elf package intentionally skipped over the first @@ -141,13 +162,6 @@
-Templates using the undocumented and only partially implemented -"noescape" feature will break: that feature was removed. -
-@@ -168,6 +182,20 @@
UnixConn
.
+
+TODO:
+reflect
: Select, ChanOf, MakeFunc, MapOf, SliceOf, Convert, Type.ConvertibleTo
+
+TODO:
+runtime
: BlockProfile
+
On FreeBSD, Linux, NetBSD, OS X and OpenBSD, previous versions of the time package @@ -182,6 +210,10 @@
TODO:
+time
: ParseInLocation, Timer.Reset, Time.YearDay
+
@@ -204,4 +236,217 @@
+The following list summarizes a number of minor changes to the library, mostly additions. +See the relevant package documentation for more information about each change. +
+ +bytes
package has two new functions,
+TrimPrefix
+and
+TrimSuffix
,
+with self-evident properties.
+Also, the Buffer
type
+has a new method
+Grow
that
+provides some control over memory allocation inside the buffer.
+Finally, the
+Reader
type now has a
+WriteTo
method
+so it implements the
+io.WriterTo
interface.
+crypto/hmac
package has a new function,
+Equal
, to compare two MACs.
+crypto/x509
: DecryptPEMBlock, EncryptPEMBlock etc.
+database/sql/driver
: Queryer
+database/sql
: Ping, SetMaxIdleConns
+encoding/json
: Decoder.Buffered, UseNumber, Number
+encoding/xml
: EscapeText Encoder.Indent
+go/ast
package, a
+new type CommentMap
+and associated methods makes it easier to extract and process comments in Go programs.
+go/doc
package,
+the parser now keeps better track of stylized annotations such as TODO(joe)
+throughout the code,
+information that the godoc
+command can filter or present according to the value of the -notes
flag.
+go/format
: Node, Source
+io.ByteWriter
interface to capture the common
+functionality of writing a byte at a time.
+log/syslog
package now provides better support
+for OS-specific logging features.
+math/big
package's
+Int
type now has
+now has methods
+MarshalJSON
+and
+UnmarshalJSON
+to convert to and from a JSON representation.
+Also,
+Int
+can now convert directly to and from a uint64
using
+Uint64
+and
+SetUint64
,
+while
+Rat
+can do the same with float64
using
+Float64
+and
+SetFloat64
.
+mime/multipart
: Writer.SetBoundary
+net/http
: ParseTime, CloseNotifier, Request.PostFormValue, ServeMux.Handler, Transport.CancelRequest
+net/mail
: ParseAddress, ParseAddressList
+net/smtp
: Client.Hello
+net/textproto
: TrimBytes, TrimString
+net
: DialOption, DialOpt, ListenUnixgram, LookupNS, IPConn.ReadMsgIP, IPConn.WriteMsgIP, UDPConn.ReadMsgUDP, UDPConn.WriteMsgUDP, UnixConn.CloseRead, UnixConn.CloseWrite
+os.FileMode.IsRegular
makes it easy to ask if a file is a plain file.
+pkg/image
: new subsamplings
+regexp
package
+now supports Unix-original lefmost-longest matches through the
+Regexp.Longest
+method, while
+Regexp.Split
slices
+strings into pieces based on separators defined by the regular expression.
+runtime/debug
: FreeOSMemory, ReadGCStats, SetGCPercent
+sort
package has a new function,
+Reverse
.
+Wrapping the argument of a call to
+sort.Sort
+with a call to Reverse
causes the sort order to be reversed.
+strings
package has two new functions,
+TrimPrefix
+and
+TrimSuffix
+with self-evident properties, and the the new method
+Reader.WriteTo
so the
+Reader
+type now implements the
+io.WriterTo
interface.
+syscall
package has received many updates to make it more inclusive of constants and system calls for each supported operating system.
+testing
package now automates the generation of allocation
+statistics in benchmarks using the new
+AllocsPerRun
function and the
+AllocsPerOp
method of
+BenchmarkResult
.
+There is also a new
+Verbose
function to test the state of the -v
+command-line flag,
+and a new
+Skip
method of
+testing.B
and
+testing.T
+to simplify skipping an inappropriate test.
+text/template
+and
+html/template
packages,
+templates can now use parentheses to group the elements of pipelines, simplifying the construction of complex pipelines.
+TODO: Link to example.
+unicode/utf8
package,
+the new function ValidRune
reports whether the rune is a valid Unicode code point.
+To be valid, a rune must be in range and not be a surrogate half.
+unicode
package has been updated to Unicode version 6.2.0.
+