Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Package stuck at older version #82

@arp242

Description

@arp242

https://gopkg.in/fsnotify.v1 lists the latest version as "v1.6.0", which is correct, but when using go get:

% go get gopkg.in/fsnotify/fsnotify.v1
go: added golang.org/x/sys v0.13.0
go: added gopkg.in/fsnotify/fsnotify.v1 v1.4.7

# I'm not sure this is supposed to work?
% go get gopkg.in/fsnotify/[email protected]
go: gopkg.in/fsnotify/[email protected]: invalid version: go.mod has non-....v1 module path "github.com/fsnotify/fsnotify" at revision v1.6.0

There's been loads of newer versions since 1.4.7, which is from Jan 2018.

I'm not entirely sure why it broke at that version, as it's from before I got involved in this project, but as far as I can tell not much changed; master branch changed to main, but that wasn't until 2022, and a few releases between that.

(gopkg.in isn't really needed any more since Go modules were added, but a quick search reveals about 1.2k repos on GitHub using the old import path, and I'm not going to update them all)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions