サンプル
verify github.com/jackc/pgx/v5.CollectableRow in pkg:golang/github.com/jackc/pgx/v5@v5.10.0
sha256:3f79e5e0fb7e0034ce7633c48ebaaa8c4e7b23248e192ceb2e7948df9fda7847
このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。
合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。
MIT-0
実行証拠
宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。
- 証拠の基準
- 署名済みコントラクト合格
- 検証レシート
- 1
- ビルドした署名鍵
- 1
宣言された環境
go 1.26 linux 24 · ubuntu · glibc 2.39 x64 go 1.26 go go 1
検証実行環境
| 環境 | コントラクト | ステージ | 実行日 |
|---|---|---|---|
| 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 github.com/jackc/pgx/v5.CollectableRow in pkg:golang/github.com/jackc/pgx/v5@v5.10.0
- シンボル
-
- github.com/jackc/pgx/v5.CollectableRow
- 環境
- go 1.26.6
- 作成日
- 2026-08-28T01:08:24Z
コントラクト
- StaticRow implements pgx.CollectableRow and pgx.Rows for offline testing and custom mapping
- CollectableRow.FieldDescriptions returns column names, OIDs, and format codes
- CollectableRow.Scan decodes column values into destination pointers and skips nil destinations
- CollectableRow.Values and RawValues return decoded any slices and raw byte slices
- CollectableRow.Scan returns pgx.ScanArgError with column index and field name on type mismatch
- pgx.RowToStructByName, pgx.RowToStructByPos, and pgx.RowToMap map CollectableRow into Go structs and maps
- Custom pgx.RowToFunc mappers validate and transform CollectableRow instances
- pgx.CollectRows and pgx.CollectExactlyOneRow iterate rows streams using pgx.RowToFunc mappers
- Dynamic column lookup resolves column values by name via CollectableRow.FieldDescriptions
ファイル
- PROMPT.md
- csx.json
- go.mod
- go.sum
- sample.go
- spec.json
- test/contract.go
オリジンシーダー
匿名