Skip to content

Validate go.work when Go workspace is detected #27

@vidya381

Description

@vidya381

When go.work exists in the project root, check that all modules listed under the use directive actually exist on disk.

Read go.work, parse the use directives, and verify each path is a valid directory with a go.mod file. Fail with the paths that are missing.

Add internal/check/gowork.go, register under stack.Go.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions