New gopkg.in versioning pattern.
diff --git a/README.md b/README.md
index 3cdee8d..896687b 100644
--- a/README.md
+++ b/README.md
@@ -20,18 +20,18 @@
Installation and usage
----------------------
-The import path for the package is *gopkg.in/v1/yaml*.
+The import path for the package is *gopkg.in/yaml.v1*.
To install it, run:
- go get gopkg.in/v1/yaml
+ go get gopkg.in/yaml.v1
API documentation
-----------------
If opened in a browser, the import path itself leads to the API documentation:
- * [https://gopkg.in/v1/yaml](https://gopkg.in/v1/yaml)
+ * [https://gopkg.in/yaml.v1](https://gopkg.in/yaml.v1)
API stability
-------------
@@ -55,7 +55,7 @@
"fmt"
"log"
- "gopkg.in/v1/yaml"
+ "gopkg.in/yaml.v1"
)
var data = `
diff --git a/decode_test.go b/decode_test.go
index 80af1ed..224e369 100644
--- a/decode_test.go
+++ b/decode_test.go
@@ -2,7 +2,7 @@
import (
. "launchpad.net/gocheck"
- "gopkg.in/v1/yaml"
+ "gopkg.in/yaml.v1"
"math"
"reflect"
)
diff --git a/encode_test.go b/encode_test.go
index aaea2e3..0ab65b9 100644
--- a/encode_test.go
+++ b/encode_test.go
@@ -3,7 +3,7 @@
import (
"fmt"
. "launchpad.net/gocheck"
- "gopkg.in/v1/yaml"
+ "gopkg.in/yaml.v1"
"math"
"strconv"
"strings"