go/src/encoding
Joe Tsai 5373959057 encoding: show the alphabet for base32 and base64
There is not a great reason to hide the alphabet used
for StdEncoding, HexEncoding, and URLEncoding.

Although this is specified in RFC 4748,
showing it in GoDoc saves an extra click from going
to the RFC itself to see the alphabet being used.

Also, split exported and unexported constants apart
so that GoDoc renders more cleanly.

Fixes #55126

Change-Id: I03bfa607fb6c3df7f757e33fc0f4ec2b233de1a1
Reviewed-on: https://go-review.googlesource.com/c/go/+/525296
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Joseph Tsai <joetsai@digital-static.net>
Auto-Submit: Joseph Tsai <joetsai@digital-static.net>
2023-09-03 18:57:29 +00:00
..
ascii85
asn1 encoding/asn1: use reflect.TypeFor for known types 2023-08-30 19:53:38 +00:00
base32 encoding: show the alphabet for base32 and base64 2023-09-03 18:57:29 +00:00
base64 encoding: show the alphabet for base32 and base64 2023-09-03 18:57:29 +00:00
binary encoding/binary: on invalid type return -1 from Size 2023-06-20 18:28:44 +00:00
csv encoding/csv: correct Column docs 2023-08-19 23:05:33 +00:00
gob encoding/gob: add comma in field comment of userTypeInfo for consistency 2023-09-02 02:18:51 +00:00
hex encoding: add AppendEncode and AppendDecode 2023-08-17 16:23:42 +00:00
json encoding/json: adjust comment about encoding \b and \f 2023-08-29 06:07:22 +00:00
pem
xml encoding/xml: overriding by empty namespace when no new name declaration 2023-08-30 20:41:27 +00:00
encoding.go encoding: document when marshaling methods can be added 2023-05-23 19:43:37 +00:00