CodeSampleX

サンプル

verify go.opentelemetry.io/otel/attribute.Int in pkg:golang/go.opentelemetry.io/otel@v1.35.0

sha256:821723fee8ccd0226d09459ab02c72d0977ce4b34a6ea71f70f077ea20de09a6

このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。 合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。 MIT-0

実行証拠

宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。

証拠の基準
署名済みコントラクト合格
検証レシート
1
ビルドした署名鍵
1
宣言された環境 linux 24 · ubuntu · glibc 2.39 x64 go

検証実行環境

環境 コントラクト ステージ 実行日
go 1.26 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · golang@1golang:1.26-alpine@sha256:28d89ee9cc0f…
2026-08-28

ケース

HOW
ゴール
verify go.opentelemetry.io/otel/attribute.Int in pkg:golang/go.opentelemetry.io/otel@v1.35.0
パッケージ
シンボル
  • go.opentelemetry.io/otel/attribute.Int
作成日
2026-08-28T06:59:49Z

コントラクト

  1. attribute.Int constructs a KeyValue with specified Key and INT64 Value type
  2. attribute.Int with positive, zero, or negative integer values preserves the int64 representation
  3. attribute.IntValue creates an INT64 Value type emitting the integer string representation
  4. attribute.Int with empty key produces a KeyValue where key.Defined() and Valid() are false
  5. attribute.IntSlice constructs an INT64SLICE Value type containing converted int64 slice elements
  6. attribute.NewSet with attribute.Int KeyValues allows key lookup and value retrieval via HasValue and Value

ファイル

  • NOTES.md
  • PROMPT.md
  • attribute_int_test.go
  • csx.json
  • go.mod
  • go.sum
  • spec.json

ソースアーティファクトをダウンロード (tar.gz)

オリジンシーダー

匿名