1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-03-17 20:47:57 +02:00

Merge pull request #127 from rbriski/rbriski/logo_readme

Adding logo and fixing some README instructions
This commit is contained in:
rbriski 2018-04-28 21:34:52 +10:00 committed by GitHub
commit 3225585b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -6,7 +6,7 @@
[Go](https://golang.org/) client library for [Atlassian JIRA](https://www.atlassian.com/software/jira).
![Go client library for Atlassian JIRA](./img/go-jira-compressed.png "Go client library for Atlassian JIRA.")
![Go client library for Atlassian JIRA](./img/logo_small.png "Go client library for Atlassian JIRA.")
## Features
@ -145,13 +145,14 @@ import (
)
func main() {
base := "https://my.jira.com"
tp := jira.CookieAuthTransport{
Username: "username",
Password: "password",
BaseURL: "https://my.jira.com",
AuthURL: fmt.Sprintf("%s/rest/auth/1/session", base),
}
jiraClient, err := jira.NewClient(tp.Client(), tp.BaseURL)
jiraClient, err := jira.NewClient(tp.Client(), base)
if err != nil {
panic(err)
}
@ -198,13 +199,14 @@ import (
)
func main() {
base := "https://my.jira.com"
tp := jira.CookieAuthTransport{
Username: "username",
Password: "password",
BaseURL: "https://my.jira.com",
AuthURL: fmt.Sprintf("%s/rest/auth/1/session", base),
}
jiraClient, _ := jira.NewClient(tp.Client(), tp.BaseURL)
jiraClient, err := jira.NewClient(tp.Client(), base)
req, _ := jiraClient.NewRequest("GET", "/rest/api/2/project", nil)
projects := new([]jira.Project)

View File

Before

Width:  |  Height:  |  Size: 251 KiB

After

Width:  |  Height:  |  Size: 251 KiB

BIN
img/logo_small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB