package attribute
Import Path
go.opentelemetry.io/otel/internal/attribute (on go.dev)
Dependency Relation
imports one package, and imported by one package
Involved Source Files
Package attribute provide several helper functions for some commonly used
logic of processing attributes.
Package-Level Functions (total 8, all are exported)
AsBoolSlice converts a bool array into a slice into with same elements as array.
AsFloat64Slice converts a float64 array into a slice into with same elements as array.
AsInt64Slice converts an int64 array into a slice into with same elements as array.
AsStringSlice converts a string array into a slice into with same elements as array.
BoolSliceValue converts a bool slice into an array with same elements as slice.
Float64SliceValue converts a float64 slice into an array with same elements as slice.
Int64SliceValue converts an int64 slice into an array with same elements as slice.
StringSliceValue converts a string slice into an array with same elements as slice.
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |