summaryrefslogtreecommitdiff
path: root/src/pkg/text
Commit message (Collapse)AuthorAgeFilesLines
* text/template: make redefinition of a template in a set more consistent.Rob Pike2011-11-082-15/+9
| | | | | | | | | | | Also make it agree with the documentation. You get an error, unless you're calling Add explicitly, in which case it panics since that's almost certainly a bug. The discrepancy was caused by a panic that wasn't turned into an error along one path; deleted the offending function for clarity. R=r, rsc CC=golang-dev http://codereview.appspot.com/5354045
* template: format error with pointer receiver.David Symonds2011-11-042-1/+22
| | | | | | | | This is a continuation of 982d70c6d5d6. R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/5348042
* template: format errorsRuss Cox2011-11-043-3/+7
| | | | | | R=golang-dev, r CC=golang-dev http://codereview.appspot.com/5340043
* os,text,unicode: renamingsRob Pike2011-11-0326-0/+7118
This is Go 1 package renaming CL #4. This one merely moves the source; the import strings will be changed after the next weekly release. This one moves pieces into os, text, and unicode. exec -> os/exec scanner -> text/scanner tabwriter -> text/tabwriter template -> text/template template/parse -> text/template/parse utf16 -> unicode/utf16 utf8 -> unicode/utf8 This should be the last of the source-rearranging CLs. R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/5331066