mirror of
https://github.com/golang/go
synced 2024-11-12 06:30:21 -07:00
parent
048ec75801
commit
ae4f1c4c3a
@ -716,7 +716,7 @@ type StructTag 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 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 {
|
||||
for tag != "" {
|
||||
// skip leading space
|
||||
|
Loading…
Reference in New Issue
Block a user