Download a Go module file
One step with GitLab. We can help you get access.
Look something up
Download a Go module file
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Packages API lets you download a Go module file in a single step (GET /api/v4/projects/{id}/packages/go/{module_name}/@v/{module_version}.mod). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Where do I download the *.mod file for a Go module version?
- How do I fetch a Go module with module name and version?
Say it to your AI assistant
- Download the module file {version} of {module} from project {project}.
- Get the Go module file {version} for {module}.
For your developer
GET /api/v4/projects/{id}/packages/go/{module_name}/@v/{module_version}.mod in GitLab REST Packages API. Full spec on APIs.io.