-1

I'm using dep and I want to add new dependencies in the Gopkg.toml file but I don't how to find the correct version.

I see that someone already added a dependency to fatih/color from github and specified version 1.5.0. How was this value found?

For example I'm adding a dependency on pkg/errors, what is it's current version?

Motti
  • 110,860
  • 49
  • 189
  • 262

1 Answers1

-1

I'm an idiot, missed the releases link...

screenshot

Motti
  • 110,860
  • 49
  • 189
  • 262
  • 2
    It uses the git tags, not GitHub releases. – Adrian Jun 06 '18 at 14:11
  • 1
    @Adrian GitHub releases [*are* git tags](https://stackoverflow.com/questions/18506508/whats-the-difference-between-tag-and-release). Not all tags are releases, but all releases have a corresponding tag. – jssblck Jun 06 '18 at 14:37
  • 1
    Yes. It still uses git tags though, not GitHub releases. – Adrian Jun 06 '18 at 15:10