From 25c99088bf0b757a0cfd43d27214e343f85e35fb Mon Sep 17 00:00:00 2001 From: Jack Palevich Date: Sat, 15 Sep 2012 19:56:53 -0700 Subject: [PATCH] Fix incorrect documentation. (Left over from copy-and-paste from Go's JSON encoder/decode doc.) --- struct.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/struct.go b/struct.go index 3be57a8..95a3f47 100644 --- a/struct.go +++ b/struct.go @@ -490,9 +490,8 @@ func isValueNil(val reflect.Value) bool { // Struct values encode as bencode maps. Each exported struct field // becomes a member of the object. // The object's default key string is the struct field name -// but can be specified in the struct field's tag value. The "json" key in -// the struct field's tag value is the key name, followed by an optional comma -// and options. Examples: +// but can be specified in the struct field's tag value. The text of +// the struct field's tag value is the key name. Examples: // // // Field appears in bencode as key "Field". // Field int