mirror of
https://github.com/ebrianne/adguard-exporter.git
synced 2025-01-03 05:37:37 +01:00
Format with go fmt
This commit is contained in:
parent
f19ad68975
commit
88a0fc5cae
@ -119,5 +119,5 @@ func (c *Client) isUsingPassword() bool {
|
||||
}
|
||||
|
||||
func (c *Client) authenticateRequest(req *http.Request) {
|
||||
req.Header.Add("Authorization", "Basic " + c.b64password)
|
||||
req.Header.Add("Authorization", "Basic "+c.b64password)
|
||||
}
|
||||
|
4
main.go
4
main.go
@ -1,16 +1,16 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"os"
|
||||
"os/signal"
|
||||
"syscall"
|
||||
"time"
|
||||
"encoding/base64"
|
||||
|
||||
"github.com/ebrianne/adguard-exporter/config"
|
||||
"github.com/ebrianne/adguard-exporter/internal/metrics"
|
||||
"github.com/ebrianne/adguard-exporter/internal/adguard"
|
||||
"github.com/ebrianne/adguard-exporter/internal/metrics"
|
||||
"github.com/ebrianne/adguard-exporter/internal/server"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user