Source File
rawhelpers.go
Belonging Package
go.opentelemetry.io/otel/attribute
// Copyright The OpenTelemetry Authors// SPDX-License-Identifier: Apache-2.0package attribute // import "go.opentelemetry.io/otel/attribute"import ()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.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |