mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 13:06:30 +02:00
Run go fmt ./...
This commit is contained in:
parent
a0c4aadba0
commit
8d68ac2126
@ -28,7 +28,7 @@ func (c *ghApiClient) makeGet(url string) (*http.Response, error) {
|
|||||||
req.Header.Set("User-Agent", core.UserAgent)
|
req.Header.Set("User-Agent", core.UserAgent)
|
||||||
req.Header.Set("Accept", "application/vnd.github+json")
|
req.Header.Set("Accept", "application/vnd.github+json")
|
||||||
if ghApiToken != "" {
|
if ghApiToken != "" {
|
||||||
req.Header.Set("Authorization", "Bearer " + ghApiToken)
|
req.Header.Set("Authorization", "Bearer "+ghApiToken)
|
||||||
}
|
}
|
||||||
|
|
||||||
resp, err := c.httpClient.Do(req)
|
resp, err := c.httpClient.Do(req)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user