mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-09-16 09:06:19 +02:00
go fmt and docs
This commit is contained in:
@@ -89,6 +89,7 @@ func (s *AuthenticationService) AcquireSessionCookie(username, password string)
|
||||
return true, nil
|
||||
}
|
||||
|
||||
// SetBasicAuth sets username and password for the basic auth against the JIRA instance.
|
||||
func (s *AuthenticationService) SetBasicAuth(username, password string) {
|
||||
s.username = username
|
||||
s.password = password
|
||||
|
2
issue.go
2
issue.go
@@ -755,7 +755,7 @@ func InitIssueWithMetaAndFields(metaProject *MetaProject, metaIssuetype *MetaIss
|
||||
}
|
||||
switch elemType {
|
||||
case "component":
|
||||
issueFields.Unknowns[jiraKey] = []Component{Component{Name: value}}
|
||||
issueFields.Unknowns[jiraKey] = []Component{{Name: value}}
|
||||
default:
|
||||
issueFields.Unknowns[jiraKey] = []string{value}
|
||||
}
|
||||
|
Reference in New Issue
Block a user