From 61a4e9812e11efe3ea41142fc49e331c333a333e Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 19 Jan 2011 13:35:45 -0500 Subject: [PATCH] fmt: document %X of string, []byte suggested by Mark Summerfield R=r CC=golang-dev https://golang.org/cl/4018042 --- src/pkg/fmt/doc.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pkg/fmt/doc.go b/src/pkg/fmt/doc.go index f3067eac9f..191bf68b13 100644 --- a/src/pkg/fmt/doc.go +++ b/src/pkg/fmt/doc.go @@ -36,7 +36,8 @@ String and slice of bytes: %s the uninterpreted bytes of the string or slice %q a double-quoted string safely escaped with Go syntax - %x base 16 notation with two characters per byte + %x base 16, lower-case, two characters per byte + %X base 16, upper-case, two characters per byte Pointer: %p base 16 notation, with leading 0x