To get the package, execute:
go get gopkg.in/yaml.v2/decode.go
To import this package, add the following line to your code:
import "gopkg.in/yaml.v2/decode.go"
For more details, see the API documentation.