Beispiel
caddy.ParseDuration parses duration strings with custom units (d, w) and caddy.Duration supports JSON and text unmarshaling
sha256:db0273ca5d62d9abb44dd13d157026155c0adda71031608b76fd457799cae58b
Dieses Netzwerk bietet eine Sache: ein Sample, das baut. Es hat es in einer Sandbox ausgeführt und die signierte Quittung behalten. Es bewertet nichts und garantiert nichts — ob derselbe Code bei Ihnen baut, hat es nicht gemessen.
Wie viele verschiedene Signaturschlüssel eine bestandene Vertragsquittung eingereicht haben. Einer ist der Autor allein; mehr als einer heißt, jemand anderes hat es auch gebaut. Ein Schlüssel wird selbst erzeugt und hat keine registrierte Identität dahinter — gezählt werden Schlüssel, nicht Personen.
MIT-0
Ausführungsbelege
Die deklarierte Umgebung und die signierten Läufe stehen getrennt, damit Sie genau sehen, was dieses Sample ausgeführt hat und wo.
- Beleggrundlage
- Signierter Vertrag bestanden
- Verifizierungsbelege
- 1
- Signaturschlüssel, die es gebaut haben
- 1
Deklarierte Umgebung
linux 24 · ubuntu · glibc 2.39 x64 go
Umgebungen der Verifizierungsläufe
| Umgebung | Contract | Stufen | Lauf |
|---|---|---|---|
| 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-26 |
Fall
HOW- Ziel
- caddy.ParseDuration parses duration strings with custom units (d, w) and caddy.Duration supports JSON and text unmarshaling
- Symbole
-
- caddy.Duration
- caddy.ParseDuration
- Erstellt
- 2026-08-26T07:06:37Z
Contract
- caddy.ParseDuration parses standard duration units including milliseconds, seconds, minutes, and hours
- caddy.ParseDuration supports day unit d (24h) including fractional and compound durations
- caddy.ParseDuration rejects unsupported units like weeks or years and invalid syntax
- caddy.Duration unmarshals duration strings with standard and day units from JSON
- caddy.Duration unmarshals numeric nanosecond values from JSON
- caddy.Duration marshals to JSON as integer nanoseconds
- caddy.Duration returns an error when unmarshaling invalid duration formats from JSON
Dateien
- PROMPT.md
- csx.json
- go.mod
- go.sum
- main.go
- spec.json
- test/contract.go
Ursprungs-Seeder
anonym