1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-08-06 22:13:02 +02:00

go fmt and fixed some typos

This commit is contained in:
Andy Grunwald
2017-05-01 14:59:27 +02:00
parent 426f330664
commit 69e7535b62
5 changed files with 55 additions and 55 deletions

View File

@ -90,9 +90,9 @@ func (s *AuthenticationService) AcquireSessionCookie(username, password string)
}
func (s *AuthenticationService) SetBasicAuth(username, password string) {
s.username = username;
s.password = password;
s.authType = authTypeBasic;
s.username = username
s.password = password
s.authType = authTypeBasic
}
// Authenticated reports if the current Client has authentication details for JIRA
@ -172,7 +172,7 @@ func (s *AuthenticationService) GetCurrentUser() (*Session, error) {
err = json.Unmarshal(data, &ret)
if err != nil {
return nil, fmt.Errorf("Could not unmarshall recieved user info : %s", err)
return nil, fmt.Errorf("Could not unmarshall received user info : %s", err)
}
return ret, nil