This commit is contained in:
Gustavo Niemeyer 2014-09-22 18:31:54 -03:00
Родитель c544d03421
Коммит 925f818e2c
3 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -20,23 +20,23 @@ supported since they're a poor design and are gone in YAML 1.2.
Installation and usage
----------------------
The import path for the package is *gopkg.in/yaml.v1*.
The import path for the package is *gopkg.in/yaml.v2*.
To install it, run:
go get gopkg.in/yaml.v1
go get gopkg.in/yaml.v2
API documentation
-----------------
If opened in a browser, the import path itself leads to the API documentation:
* [https://gopkg.in/yaml.v1](https://gopkg.in/yaml.v1)
* [https://gopkg.in/yaml.v2](https://gopkg.in/yaml.v2)
API stability
-------------
The package API for yaml v1 will remain stable as described in [gopkg.in](https://gopkg.in).
The package API for yaml v2 will remain stable as described in [gopkg.in](https://gopkg.in).
License
@ -55,7 +55,7 @@ import (
"fmt"
"log"
"gopkg.in/yaml.v1"
"gopkg.in/yaml.v2"
)
var data = `

Просмотреть файл

@ -3,7 +3,7 @@ package yaml_test
import (
"errors"
. "gopkg.in/check.v1"
"gopkg.in/yaml.v1"
"gopkg.in/yaml.v2"
"math"
"reflect"
"strings"

Просмотреть файл

@ -3,7 +3,7 @@ package yaml_test
import (
"fmt"
. "gopkg.in/check.v1"
"gopkg.in/yaml.v1"
"gopkg.in/yaml.v2"
"math"
"strconv"
"strings"