Source File
rawhelpers.go
Belonging Package
go.opentelemetry.io/otel/attribute
// Copyright The OpenTelemetry Authors// SPDX-License-Identifier: Apache-2.0package attributeimport ()func ( bool) uint64 { // nolint:revive // b is not a control flag.if {return 1}return 0}func ( uint64) bool {return != 0}func ( int64) uint64 {// Assumes original was a valid int64 (overflow not checked).return uint64() // nolint: gosec}func ( uint64) int64 {// Assumes original was a valid int64 (overflow not checked).return int64() // nolint: gosec}func ( float64) uint64 {return math.Float64bits()}func ( uint64) float64 {return math.Float64frombits()}
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)