diff --git a/go.mod b/go.mod index c20ec928..f242ecc5 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,6 @@ require ( github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c github.com/buger/jsonparser v1.1.1 github.com/caarlos0/env/v6 v6.10.1 - github.com/go-logfmt/logfmt v0.6.0 github.com/google/go-querystring v1.1.0 github.com/grokify/base36 v1.0.5 github.com/grokify/bitcoinmath v0.1.0 diff --git a/go.sum b/go.sum index 4616cba3..2132970c 100644 --- a/go.sum +++ b/go.sum @@ -17,8 +17,6 @@ github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMe github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4= -github.com/go-logfmt/logfmt v0.6.0/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= diff --git a/log/logutil/logutil.go b/log/logutil/logutil.go index 5af49835..e0a0560a 100644 --- a/log/logutil/logutil.go +++ b/log/logutil/logutil.go @@ -3,11 +3,9 @@ package logutil import ( - "bufio" - "bytes" "log" - "github.com/go-logfmt/logfmt" + // "github.com/go-logfmt/logfmt" "github.com/grokify/mogo/errors/errorsutil" ) @@ -32,6 +30,7 @@ func PrintlnErr(err error, wrap ...string) { } } +/* func LogfmtString(m map[string][]string) (string, error) { var buf bytes.Buffer w := bufio.NewWriter(&buf) @@ -48,3 +47,4 @@ func LogfmtString(m map[string][]string) (string, error) { } return buf.String(), nil } +*/