Skip to content

Commit

Permalink
Merge pull request #127 from rbriski/rbriski/logo_readme
Browse files Browse the repository at this point in the history
Adding logo and fixing some README instructions
  • Loading branch information
rbriski authored Apr 28, 2018
2 parents 837555c + d45acdb commit 3225585
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
}
Expand Down Expand Up @@ -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)
Expand Down
File renamed without changes
Binary file added img/logo_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3225585

Please sign in to comment.