Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
0ae5036b
Commit
0ae5036b
authored
May 13, 2013
by
Nigel Tao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: add a "New packages" section to the 1.1 release notes.
R=adg, r CC=golang-dev
https://golang.org/cl/9344044
parent
12ab08a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
15 deletions
+30
-15
go1.1.html
doc/go1.1.html
+30
-15
No files found.
doc/go1.1.html
View file @
0ae5036b
...
@@ -694,6 +694,36 @@ The old package <code>exp/norm</code> has also been moved, but to a new reposito
...
@@ -694,6 +694,36 @@ The old package <code>exp/norm</code> has also been moved, but to a new reposito
be developed.
be developed.
</p>
</p>
<h3
id=
"new_packages"
>
New packages
</h3>
<p>
There are three new packages.
</p>
<ul>
<li>
The
<a
href=
"/pkg/go/format/"
><code>
go/format
</code></a>
package provides
a convenient way for a program to access the formatting capabilities of the
<a
href=
"/cmd/go/#hdr-Run_gofmt_on_package_sources"
><code>
go fmt
</code></a>
command.
It has two functions,
<a
href=
"/pkg/go/format/#Node"
><code>
Node
</code></a>
to format a Go parser
<a
href=
"/pkg/go/ast/#Node"
><code>
Node
</code></a>
,
and
<a
href=
"/pkg/go/format/#Source"
><code>
Source
</code></a>
to reformat arbitrary Go source code into the standard format as provided by the
<a
href=
"/cmd/go/#hdr-Run_gofmt_on_package_sources"
><code>
go fmt
</code></a>
command.
</li>
<li>
The
<a
href=
"/pkg/net/http/cookiejar/"
><code>
net/http/cookiejar
</code></a>
package provides the basics for managing HTTP cookies.
</li>
<li>
The
<a
href=
"/pkg/runtime/race/"
><code>
runtime/race
</code></a>
package provides low-level facilities for data race detection.
It is internal to the race detector and does not otherwise export any user-visible functionality.
</li>
</ul>
<h3
id=
"minor_library_changes"
>
Minor changes to the library
</h3>
<h3
id=
"minor_library_changes"
>
Minor changes to the library
</h3>
<p>
<p>
...
@@ -796,17 +826,6 @@ information that the <a href="/cmd/godoc/"><code>godoc</code></a>
...
@@ -796,17 +826,6 @@ information that the <a href="/cmd/godoc/"><code>godoc</code></a>
command can filter or present according to the value of the
<code>
-notes
</code>
flag.
command can filter or present according to the value of the
<code>
-notes
</code>
flag.
</li>
</li>
<li>
A new package,
<a
href=
"/pkg/go/format/"
><code>
go/format
</code></a>
, provides
a convenient way for a program to access the formatting capabilities of
<code>
gofmt
</code>
.
It has two functions,
<a
href=
"/pkg/go/format/#Node"
><code>
Node
</code></a>
to format a Go parser
<a
href=
"/pkg/go/ast/#Node"
><code>
Node
</code></a>
,
and
<a
href=
"/pkg/go/format/#Source"
><code>
Source
</code></a>
to format arbitrary Go source code.
</li>
<li>
<li>
The undocumented and only partially implemented "noescape" feature of the
The undocumented and only partially implemented "noescape" feature of the
<a
href=
"/pkg/html/template/"
><code>
html/template
</code></a>
<a
href=
"/pkg/html/template/"
><code>
html/template
</code></a>
...
@@ -943,10 +962,6 @@ a <a href="/pkg/net/http/#Response"><code>Response.Body</code></a> is closed bef
...
@@ -943,10 +962,6 @@ a <a href="/pkg/net/http/#Response"><code>Response.Body</code></a> is closed bef
being fully consumed.
being fully consumed.
</li>
</li>
<li>
The new
<a
href=
"/pkg/net/http/cookiejar/"
><code>
net/http/cookiejar
</code></a>
package provides the basics for managing HTTP cookies.
</li>
<li>
<li>
The
<a
href=
"/pkg/net/mail/"
><code>
net/mail
</code></a>
package has two new functions,
The
<a
href=
"/pkg/net/mail/"
><code>
net/mail
</code></a>
package has two new functions,
<a
href=
"/pkg/net/mail/#ParseAddress"
><code>
ParseAddress
</code></a>
and
<a
href=
"/pkg/net/mail/#ParseAddress"
><code>
ParseAddress
</code></a>
and
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment