New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/azr/go-modules-example

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/azr/go-modules-example

  • v0.0.0-20200323141246-2bfcc23fd205
  • Source
  • Go
  • Socket score

Version published
Created
Source

go-modules-example

trying things around go modules multimodules, multisubmodules and tagging

https://github.com/azr/go-modules-example/blob/v3/cmd/main.go ( in the v3 branch ) uses modules of the same packages under 3 different versions.

here are some take aways :

  • to tag a subpkg one just has to git tag subpkg/v3.0.0 for example allowing to selectively tag subpackages like here: https://github.com/azr/go-modules-example/tree/subpkg/v3.0.0

  • use a v${MAJOR_VERSION} branch to make updates easier, my go (1.14) could only find the v3.0.0 version - without hinting nor using the commit sha - only after I put the tag in the v3 branch ( first it was in the v2 one )

  • there always needs to be a go.mod file in the root git folder

FAQs

Package last updated on 23 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc