mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-08-06 22:13:02 +02:00
remove extraneous code from README
This commit is contained in:
@ -94,8 +94,8 @@ A more thorough, [runnable example](examples/basicauth/main.go) is provided in t
|
|||||||
```go
|
```go
|
||||||
func main() {
|
func main() {
|
||||||
tp := jira.BasicAuthTransport{
|
tp := jira.BasicAuthTransport{
|
||||||
Username: strings.TrimSpace(username),
|
Username: "username",
|
||||||
Password: strings.TrimSpace(password),
|
Password: "password",
|
||||||
}
|
}
|
||||||
|
|
||||||
client, err := jira.NewClient(tp.Client(), "https://my.jira.com")
|
client, err := jira.NewClient(tp.Client(), "https://my.jira.com")
|
||||||
|
Reference in New Issue
Block a user