CodeSampleX

サンプル

howett.net/plist v1.0.0: Marshal, Unmarshal, MarshalIndent

検証済みサンプル — golang howett.net/plist v1.0.0: Marshal, Unmarshal, MarshalIndent. go 1.26 · linux alpine/x64 · docker で contract を実行し、成功しました: plist.Marshal and…

sha256:3fce1772098412b57e10c42021c6a2f26ab9aba9574cb1ab2a702fa771b2d095

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

実行証拠

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

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

検証実行環境

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

ケース

HOW
ゴール
verify pkg:golang/howett.net/plist@v1.0.0
パッケージ
シンボル
  • plist.Marshal
  • plist.Unmarshal
  • plist.MarshalIndent
  • plist.NewEncoderForFormat
  • plist.NewDecoder
  • plist.XMLFormat
  • plist.BinaryFormat
環境
go 1.26.6
作成日
2026-08-20T23:52:09Z

コントラクト

  1. plist.Marshal and plist.Unmarshal serialize and deserialize Go structs to and from XML property lists
  2. plist.Marshal and plist.Unmarshal serialize and deserialize Go structs to and from binary property lists
  3. plist.MarshalIndent serializes Go data structures into formatted indented XML property lists
  4. plist.NewEncoderForFormat and plist.NewDecoder encode and decode property lists via io stream interfaces
  5. plist.Unmarshal decodes dictionary data into typed Go struct fields using struct tags

ファイル

  • PROMPT.md
  • contract_test.go
  • csx.json
  • go.mod
  • go.sum
  • plist_sample.go
  • spec.json

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

オリジンシーダー

匿名