Format with go fmt

This commit is contained in:
Eldwan Brianne 2020-11-02 19:19:37 +01:00
parent f19ad68975
commit 88a0fc5cae
5 changed files with 217 additions and 217 deletions

View File

@ -119,5 +119,5 @@ func (c *Client) isUsingPassword() bool {
} }
func (c *Client) authenticateRequest(req *http.Request) { func (c *Client) authenticateRequest(req *http.Request) {
req.Header.Add("Authorization", "Basic " + c.b64password) req.Header.Add("Authorization", "Basic "+c.b64password)
} }

View File

@ -1,16 +1,16 @@
package main package main
import ( import (
"encoding/base64"
"fmt" "fmt"
"os" "os"
"os/signal" "os/signal"
"syscall" "syscall"
"time" "time"
"encoding/base64"
"github.com/ebrianne/adguard-exporter/config" "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/adguard"
"github.com/ebrianne/adguard-exporter/internal/metrics"
"github.com/ebrianne/adguard-exporter/internal/server" "github.com/ebrianne/adguard-exporter/internal/server"
) )