update readme on v0 branch
diff --git a/.gitignore b/.gitignore
index e4706a9..4cd0cba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
# git config --global core.excludesfile ~/.gitignore_global
.vagrant
+*.sublime-project
diff --git a/README.md b/README.md
index 4c7498d..8ce39d5 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,11 @@
# File system notifications for Go
-[](http://godoc.org/github.com/howeyc/fsnotify)
+[](https://godoc.org/gopkg.in/fsnotify.v0)
+
+This branch contains **[fsnotify.v0](https://gopkg.in/fsnotify.v0)** which is API-compatible with [howeyc/fsnotify](https://github.com/howeyc/fsnotify). Bugfixes *may* be backported, but I recommend upgrading.
Cross platform: Windows, Linux, BSD and OS X.
-## Moving Notice
-
-There is a fork being actively developed with a new API in preparation for the Go Standard Library:
-[github.com/go-fsnotify/fsnotify](https://github.com/go-fsnotify/fsnotify)
-
## Example:
```go
@@ -17,7 +14,7 @@
import (
"log"
- "github.com/howeyc/fsnotify"
+ "gopkg.in/fsnotify.v0"
)
func main() {
@@ -53,6 +50,7 @@
```
For each event:
+
* Name
* IsCreate()
* IsDelete()
diff --git a/example_test.go b/example_test.go
index d3130e2..2462a1d 100644
--- a/example_test.go
+++ b/example_test.go
@@ -7,7 +7,7 @@
import (
"log"
- "github.com/howeyc/fsnotify"
+ "github.com/go-fsnotify/fsnotify"
)
func ExampleNewWatcher() {