GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — master (#5)
by
unknown
04:09
created

credentials.*AccessKeyCredential.GetAccessKeyID   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
package credentials
2
3
type AccessKeyCredential struct {
0 ignored issues
show
introduced by
exported type AccessKeyCredential should have comment or be unexported
Loading history...
4
	AccessKeyID     string
5
	AccessKeySecret string
6
}
7
8
func newAccessKeyCredential(accessKeyID, accessKeySecret string) *AccessKeyCredential {
9
	return &AccessKeyCredential{
10
		AccessKeyID:     accessKeyID,
11
		AccessKeySecret: accessKeySecret,
12
	}
13
}
14
15
// GetAccessKeyID reutrns  AccessKeyCreential's AccessKeyID
16
func (a *AccessKeyCredential) GetAccessKeyID() (string, error) {
17
	return a.AccessKeyID, nil
18
}
19
20
// GetAccessSecret reutrns  AccessKeyCreential's AccessKeySecret
21
func (a *AccessKeyCredential) GetAccessSecret() (string, error) {
22
	return a.AccessKeySecret, nil
23
}
24
25
// GetSecurityToken is useless for AccessKeyCreential
26
func (a *AccessKeyCredential) GetSecurityToken() (string, error) {
27
	return "", nil
28
}
29
30
// GetBearerToken is useless for AccessKeyCreential
31
func (a *AccessKeyCredential) GetBearerToken() string {
32
	return ""
33
}
34
35
// GetType reutrns  AccessKeyCreential's type
36
func (a *AccessKeyCredential) GetType() string {
37
	return "access_key"
38
}
39