Fix linter warnings
This commit is contained in:
parent
c1c969db2e
commit
52fad7cf47
@ -4,8 +4,6 @@ linters:
|
||||
enable-all: true
|
||||
disable:
|
||||
- gochecknoglobals
|
||||
- goimports
|
||||
- gocritic
|
||||
linters-settings:
|
||||
lll:
|
||||
line-length: 420
|
||||
|
@ -5,7 +5,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"gitlab.com/fat0troll/uploader_tools/domains/loginer/v1"
|
||||
loginerv1 "gitlab.com/fat0troll/uploader_tools/domains/loginer/v1"
|
||||
"gitlab.com/fat0troll/uploader_tools/internal/context"
|
||||
)
|
||||
|
||||
|
@ -7,14 +7,15 @@ package context
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/kirsle/configdir"
|
||||
"github.com/rs/zerolog"
|
||||
"gitlab.com/pztrn/flagger"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
|
||||
"github.com/kirsle/configdir"
|
||||
"github.com/rs/zerolog"
|
||||
"gitlab.com/pztrn/flagger"
|
||||
)
|
||||
|
||||
// getMemoryUsage returns memory usage for logger.
|
||||
|
@ -5,10 +5,11 @@
|
||||
package context
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/rs/zerolog"
|
||||
"gitlab.com/fat0troll/uploader_tools/internal/config"
|
||||
"gitlab.com/pztrn/flagger"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
var (
|
||||
|
Loading…
Reference in New Issue
Block a user