Commit ae4f1c4c authored by Robert Griesemer's avatar Robert Griesemer

reflect: fix comment

R=r
CC=golang-dev
https://golang.org/cl/5039045
parent 048ec758
...@@ -716,7 +716,7 @@ type StructTag string ...@@ -716,7 +716,7 @@ type StructTag string
// Get returns the value associated with key in the tag string. // Get returns the value associated with key in the tag string.
// If there is no such key in the tag, Get returns the empty string. // If there is no such key in the tag, Get returns the empty string.
// If the tag does not have the conventional format, the value // If the tag does not have the conventional format, the value
// returned by Get is unspecified, // returned by Get is unspecified.
func (tag StructTag) Get(key string) string { func (tag StructTag) Get(key string) string {
for tag != "" { for tag != "" {
// skip leading space // skip leading space
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment