- cmd/codegen/main.go: drop "errors" stdlib import, use core.Is per Core convention
(non-WASM path).
- layout.go, path.go, responsive.go: add header notes documenting why these files
use stdlib (errors/strings/strconv) instead of core — RFC §7 caps WASM at
3.5 MB raw / 1 MB gzip, and dappco.re/go/core transitively pulls fmt/os/log.
- README.md, docs/index.md: migrate stale forge.lthn.ai/core/go-html module path
to canonical dappco.re/go/core/html; refresh dependency diagram and Go version.
All spec features are already implemented; this is spec-parity maintenance.
Verified: go build ./..., go vet ./..., go test ./... all green (WASM size test
back to 2.12 MB raw / 630 KB gzip after short-lived core-import regression).
Co-Authored-By: Virgil <virgil@lethean.io>
- Add EachSeq[T](iter.Seq[T], fn) for iterator-based template rendering
- Use slices.Collect(maps.Keys()) + slices.Sort for deterministic attr output
- Use strings.SplitSeq in codegen TagToClassName and path parsing
- Use range over int in layout and pipeline loops
- Refresh go.sum
Co-Authored-By: Gemini <noreply@google.com>
Co-Authored-By: Virgil <virgil@lethean.io>