Fix fsnotify import

This commit is contained in:
Joel Speed 2018-11-27 12:08:00 +00:00
parent d41089d315
commit fa21208005
No known key found for this signature in database
GPG Key ID: 6E80578D6751DEFB
4 changed files with 5 additions and 4 deletions

View File

@ -2,6 +2,7 @@
## Changes since v2.2: ## Changes since v2.2:
- Fix fsnotify import
- Update README to reflect new repository ownership - Update README to reflect new repository ownership
- Update CI scripts to separate linting and testing - Update CI scripts to separate linting and testing
- Now using `gometalinter` for linting - Now using `gometalinter` for linting

4
Gopkg.lock generated
View File

@ -164,7 +164,7 @@
[[projects]] [[projects]]
digest = "1:cb5b2a45a3dd41c01ff779c54ae4c8aab0271d6d3b3f734c8a8bd2c890299ef2" digest = "1:cb5b2a45a3dd41c01ff779c54ae4c8aab0271d6d3b3f734c8a8bd2c890299ef2"
name = "gopkg.in/fsnotify.v1" name = "gopkg.in/fsnotify/fsnotify.v1"
packages = ["."] packages = ["."]
pruneopts = "" pruneopts = ""
revision = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6" revision = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6"
@ -197,7 +197,7 @@
"golang.org/x/oauth2/google", "golang.org/x/oauth2/google",
"google.golang.org/api/admin/directory/v1", "google.golang.org/api/admin/directory/v1",
"google.golang.org/api/googleapi", "google.golang.org/api/googleapi",
"gopkg.in/fsnotify.v1", "gopkg.in/fsnotify/fsnotify.v1",
] ]
solver-name = "gps-cdcl" solver-name = "gps-cdcl"
solver-version = 1 solver-version = 1

View File

@ -36,7 +36,7 @@
name = "google.golang.org/api" name = "google.golang.org/api"
[[constraint]] [[constraint]]
name = "gopkg.in/fsnotify.v1" name = "gopkg.in/fsnotify/fsnotify.v1"
version = "~1.2.0" version = "~1.2.0"
[[constraint]] [[constraint]]

View File

@ -8,7 +8,7 @@ import (
"path/filepath" "path/filepath"
"time" "time"
"gopkg.in/fsnotify.v1" fsnotify "gopkg.in/fsnotify/fsnotify.v1"
) )
func WaitForReplacement(filename string, op fsnotify.Op, func WaitForReplacement(filename string, op fsnotify.Op,