can we cache public golang packages like we do with npm and nuget ?

Akshay Dhumale 20 Reputation points
2025-05-16T09:26:07.7533333+00:00

just like when we want to cache public npm package into our azure artifact feed we have a direct option of upstream source. is there a way we can also cache the public golang package into azure artifact somehow. ( not manually publishing each package )

Azure DevOps
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Obinna Ejidike 815 Reputation points
    2025-05-16T11:00:02.7766667+00:00

    Hi Akshay Dhumale

    Thanks for using the Q&A platform.

    Caching public Go (Golang) modules in Azure Artifacts, like you do with npm or NuGet using upstream sources, is not directly supported in the same way for Go.

    Azure Artifacts does not currently support Go modules as a package type in the same native way it supports npm, NuGet, Maven, Python, and Universal packages.

    Find: https://learn.microsoft.com/en-us/azure/devops/artifacts/?view=azure-devops

    You can mark it 'Accept Answer' and 'Upvote' if this helped you.

    Regards,

    Obinna

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.