Skip to content

fmt: group d2lang Go imports - #36

Merged
alixander merged 1 commit into
masterfrom
agent/support-d2lang-go-imports
Aug 7, 2026
Merged

fmt: group d2lang Go imports#36
alixander merged 1 commit into
masterfrom
agent/support-d2lang-go-imports

Conversation

@alixander

Copy link
Copy Markdown
Contributor

What changed

  • recognize github.com/d2lang/* modules as project-local Go modules
  • group github.com/d2lang imports with the existing Terrastruct vanity and legacy GitHub prefixes

Why

util-go is moving from oss.terrastruct.com/util-go to github.com/d2lang/util-go. D2 still uses its existing vanity module path for now, so shared formatting must treat both identities as local during the staged migration.

Validation

  • sh -n bin/fmt.sh
  • git diff --check
  • commit verified by GitHub as signed

@alixander
alixander marked this pull request as ready for review August 7, 2026 03:06
@alixander
alixander merged commit da53bbd into master Aug 7, 2026
6 checks passed
@alixander
alixander deleted the agent/support-d2lang-go-imports branch August 7, 2026 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant