From: Gustavo Niemeyer Date: Thu, 26 Jan 2012 01:42:36 +0000 (-0200) Subject: doc/go1: fix urls X-Git-Tag: weekly.2012-01-27~26 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=75e9d24213992ea2077283383cb8705fefc2973a;p=gostls13.git doc/go1: fix urls R=golang-dev, r CC=golang-dev https://golang.org/cl/5577051 --- diff --git a/doc/go1.html b/doc/go1.html index b3a000d993..768c1ca6fa 100644 --- a/doc/go1.html +++ b/doc/go1.html @@ -936,13 +936,13 @@ for that purpose.

The set of parse functions provided by the go/parser package has been reduced to the primary parse function -ParseFile, and a couple of -convenience functions ParseDir -and ParseExpr. +ParseFile, and a couple of +convenience functions ParseDir +and ParseExpr.

-The type names of the go/doc package have been +The type names of the go/doc package have been streamlined by removing the Doc suffix: PackageDoc is now Package, ValueDoc is Value, etc. Also, all types now consistently have a Name field (or Names, @@ -958,19 +958,19 @@ documentation for a package is created with:

where the new mode parameter specifies the operation mode: -if set to AllDecls, all declarations +if set to AllDecls, all declarations (not just exported ones) are considered. The function NewFileDoc was removed, and the function CommentText has become the method -Text of -ast.CommentGroup. +Text of +ast.CommentGroup.

-In package go/token, the -token.FileSet method Files +In package go/token, the +token.FileSet method Files (which originally returned a channel of *token.Files) has been replaced -with the iterator Iterate that +with the iterator Iterate that accepts a function argument instead.

diff --git a/doc/go1.tmpl b/doc/go1.tmpl index 4e59354bcc..e0a443dc2c 100644 --- a/doc/go1.tmpl +++ b/doc/go1.tmpl @@ -839,13 +839,13 @@ for that purpose.

The set of parse functions provided by the go/parser package has been reduced to the primary parse function -ParseFile, and a couple of -convenience functions ParseDir -and ParseExpr. +ParseFile, and a couple of +convenience functions ParseDir +and ParseExpr.

-The type names of the go/doc package have been +The type names of the go/doc package have been streamlined by removing the Doc suffix: PackageDoc is now Package, ValueDoc is Value, etc. Also, all types now consistently have a Name field (or Names, @@ -861,19 +861,19 @@ documentation for a package is created with:

where the new mode parameter specifies the operation mode: -if set to AllDecls, all declarations +if set to AllDecls, all declarations (not just exported ones) are considered. The function NewFileDoc was removed, and the function CommentText has become the method -Text of -ast.CommentGroup. +Text of +ast.CommentGroup.

-In package go/token, the -token.FileSet method Files +In package go/token, the +token.FileSet method Files (which originally returned a channel of *token.Files) has been replaced -with the iterator Iterate that +with the iterator Iterate that accepts a function argument instead.