From 0af00e71e5c97975a8d98181da77a4d16963e48f Mon Sep 17 00:00:00 2001 From: Brandon Hartman Date: Wed, 18 Oct 2023 11:35:35 -0400 Subject: [PATCH] Ran linting etc --- logger.go | 1 - util.go | 3 +-- util_test.go | 3 +-- viper.go | 3 +-- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/logger.go b/logger.go index 00aff91..828042f 100644 --- a/logger.go +++ b/logger.go @@ -2,7 +2,6 @@ package viper import ( "context" - "log/slog" ) diff --git a/util.go b/util.go index a2dceba..314b51d 100644 --- a/util.go +++ b/util.go @@ -12,14 +12,13 @@ package viper import ( "fmt" + "log/slog" "os" "path/filepath" "runtime" "strings" "unicode" - "log/slog" - "github.com/spf13/cast" ) diff --git a/util_test.go b/util_test.go index 8256e4f..3d7b30f 100644 --- a/util_test.go +++ b/util_test.go @@ -11,12 +11,11 @@ package viper import ( + "log/slog" "os" "path/filepath" "testing" - "log/slog" - "github.com/stretchr/testify/assert" ) diff --git a/viper.go b/viper.go index 3024303..26a7ca8 100644 --- a/viper.go +++ b/viper.go @@ -25,6 +25,7 @@ import ( "errors" "fmt" "io" + "log/slog" "os" "path/filepath" "reflect" @@ -33,8 +34,6 @@ import ( "sync" "time" - "log/slog" - "github.com/fsnotify/fsnotify" "github.com/mitchellh/mapstructure" "github.com/spf13/afero"