mention golang import

This commit is contained in:
Cory Bennett
2017-09-05 23:01:37 -07:00
parent f1b8c64e33
commit d9fe99041d
+10
View File
@@ -22,6 +22,16 @@ go get gopkg.in/Netflix-Skunkworks/go-jira.v1/cmd/jira
## v1 vs v0 changes
* **Golang library import** For the new version of go-jira you should use:
```
import "gopkg.in/Netflix-Skunkworks/go-jira.v1"
```
If you have code that depends on the old apis, you can still use them with this import:
```
import "gopkg.in/Netflix-Skunkworks/go-jira.v0"
```
* **Configs per command**. Instead of requiring a exectuable template to get configs for a given command now you can create a config to be applied to a command. So if you want to use `template: table` by default for yor `jira list` you can now do:
```
$ cat $HOME/.jira.d/list.yml