diff --git a/doc/go1.12.html b/doc/go1.12.html index f452d136c08837..c8dd487f65fe72 100644 --- a/doc/go1.12.html +++ b/doc/go1.12.html @@ -270,7 +270,9 @@

Minor changes to the library

go/doc

- TODO: https://golang.org/cl/140958: add new mode bit PreserveAST to control clearing of data in AST + To address some outstanding issues in cmd/doc, + this package has a new Mode bit, + PreserveAST, which controls whether AST data is cleared.

@@ -278,7 +280,11 @@

Minor changes to the library

go/token

- TODO: https://golang.org/cl/134075: add (*File).LineStart, which returns Pos for a given line + The File type has a new + LineStart field, + which returns the position of the start of a given line. This is especially useful + in programs that occassionally handle non-Go files, such as assembly, but wish to use + the token.Pos mechanism to identify file positions.

@@ -442,7 +448,12 @@

Minor changes to the library

reflect

- TODO: https://golang.org/cl/33572: add Value.MapRange method and MapIter type + A new MapIter type is + an iterator for ranging over a map. This type is exposed through the + Value type's new + MapRange method. + This follows the same iteration semantics as a range statment, with Next + to advance the iterator, and Key/Value to access each entry.