]> Cypherpunks repositories - gostls13.git/commit
bytes, strings: allow -1 in Map to mean "drop this character".
authorKei Son <hey.calmdown@gmail.com>
Fri, 11 Dec 2009 18:37:48 +0000 (10:37 -0800)
committerRuss Cox <rsc@golang.org>
Fri, 11 Dec 2009 18:37:48 +0000 (10:37 -0800)
commit128974adfd8384ef6d8ee90f711df6a771c9cb1f
treea0901ead658b056634aec216b9bc8ff0f7895036
parent67aa1399d65a0d7c2d3b4d99447f07811cf79194
bytes, strings: allow -1 in Map to mean "drop this character".

xml: drop invalid characters in attribute names
    when constructing struct field names.

R=rsc
CC=r
https://golang.org/cl/157104
src/pkg/bytes/bytes.go
src/pkg/bytes/bytes_test.go
src/pkg/strings/strings.go
src/pkg/strings/strings_test.go
src/pkg/xml/read.go
src/pkg/xml/read_test.go