go-html/cmd/codegen
Snider 09b48e00dc
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
chore(html): swap errors.Is for core.Is in codegen CLI, document WASM size guard-rails
- 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>
2026-04-14 20:01:28 +01:00
..
main.go chore(html): swap errors.Is for core.Is in codegen CLI, document WASM size guard-rails 2026-04-14 20:01:28 +01:00
main_test.go fix(codegen): validate custom element tags 2026-04-01 09:49:42 +00:00