Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tag repo with a semantic version? #26

Open
mariotoffia opened this issue May 13, 2020 · 1 comment
Open

tag repo with a semantic version? #26

mariotoffia opened this issue May 13, 2020 · 1 comment

Comments

@mariotoffia
Copy link

mariotoffia commented May 13, 2020

Hi, I'm new to go and using go 1.13. I've been using tagging of my repository using releases e.g. v1.0.0 and hence I can use this in go.mod require section.

I cannot find any tags in this repository and hence not possible for me to declare this dependency in go.mod?

module dev.azure.com/dataductus/CbServices/_git/go-core.git

require (
	github.com/aws/aws-sdk-go-v2 v0.22.0
	github.com/joeshaw/envdecode <-- which version?
)

go 1.13

Cheers,
Mario

@THasthika
Copy link

module github.com/**/**

go 1.14

require github.com/joeshaw/envdecode v0.0.0-20200121155833-099f1fc765bd

I used visual studio code to auto-import the package. So it added the version automatically.

But I agree with you that using tags to version the package is useful though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants