envdecode icon indicating copy to clipboard operation
envdecode copied to clipboard

tag repo with a semantic version?

Open mariotoffia opened this issue 5 years ago • 1 comments

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

mariotoffia avatar May 13 '20 04:05 mariotoffia

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.

THasthika avatar Jul 10 '20 15:07 THasthika