FromStringMap allows adding into the current map of attributes all the attributes contained in the given string map
(strings map[string]string)
| 337 | // FromStringMap allows adding into the current map of attributes all |
| 338 | // the attributes contained in the given string map |
| 339 | func (attributes Attributes) FromStringMap(strings map[string]string) Attributes { |
| 340 | for key, value := range strings { |
| 341 | attributes.PutString(key, value) |
| 342 | } |
| 343 | return attributes |
| 344 | } |
| 345 | |
| 346 | // PutFloat allows adding a float attribute to the |
| 347 | // current map of attributes |
no test coverage detected