Stay organized with collections
Save and categorize content based on your preferences.
Artifact Registry supports Go modules and semantic versioning independent of your
version control system. Go modules stored in Artifact Registry can be used
alongside other public or private modules in your Go projects.
Overview
To get familiar with storing Go modules in Artifact Registry, you can try
the quickstart.
When you're ready to learn more, read the following information:
Grant permissions to the account that
will connect with the repository. Service accounts for common integrations
with Artifact Registry have default permissions for
repositories in the same project.
To view Go log entries in Cloud Logging, you must enableDATA_WRITE logging.
When you upload a Go module to a repository, the operation is logged as
UploadGoModule. Artifact Registry logs the following specific methods for
Go repositories:
List versions in a module
Go-ListVersions
View module information
Go-ViewModInfo
Download the go.mod File
Go-DownloadModFile
Download the zip File
Go-DownloadZipFile
For information about other Artifact Registry log entries, see
View audit logs.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-06 UTC."],[[["Artifact Registry allows storing Go modules with semantic versioning, independent of your version control."],["You can use Go modules in Artifact Registry alongside other public or private modules in your Go projects."],["Setting up Artifact Registry for Go involves creating a repository, granting permissions, and configuring authentication."],["Artifact Registry logs various operations for Go repositories, including listing versions, viewing module info, and downloading files."],["To view Go log entries, `DATA_WRITE` logging must be enabled in Cloud Logging."]]],[]]