FromFloatMap allows adding into the current map of attributes all the attributes contained in the given map of floats
(strings map[string]float64)
| 356 | // FromFloatMap allows adding into the current map of attributes all |
| 357 | // the attributes contained in the given map of floats |
| 358 | func (attributes Attributes) FromFloatMap(strings map[string]float64) Attributes { |
| 359 | for key, value := range strings { |
| 360 | attributes.PutFloat(key, value) |
| 361 | } |
| 362 | return attributes |
| 363 | } |
| 364 | |
| 365 | // PutInteger allows adding an integer attribute to the |
| 366 | // current map of attributes |
no test coverage detected