From 2a202d2c8d9a966b24249235b64424dd35dcb972 Mon Sep 17 00:00:00 2001 From: jojo Date: Wed, 24 Jan 2024 10:49:44 -0300 Subject: [PATCH] :bug: //nolint | go mod tidy --- go.mod | 3 ++- go.sum | 3 +++ mock/mail.go | 1 + mock/scraper.go | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 07138c2..999d691 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/perebaj/newsletter go 1.21.5 +require go.mongodb.org/mongo-driver v1.13.1 + require ( github.com/golang/snappy v0.0.1 // indirect github.com/klauspost/compress v1.13.6 // indirect @@ -10,7 +12,6 @@ require ( github.com/xdg-go/scram v1.1.2 // indirect github.com/xdg-go/stringprep v1.0.4 // indirect github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect - go.mongodb.org/mongo-driver v1.13.1 // indirect golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect golang.org/x/text v0.7.0 // indirect diff --git a/go.sum b/go.sum index 052dd3c..92ac286 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,8 @@ +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/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/go-cmp v0.5.2 h1:X2ev0eStA3AbceY54o37/0PQ/UWqKEiiO2dKL5OPaFM= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/klauspost/compress v1.13.6 h1:P76CopJELS0TiO2mebmnzgWaajssP/EszplttgQxcgc= github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= @@ -48,4 +50,5 @@ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/mock/mail.go b/mock/mail.go index e1a645d..39b46bd 100644 --- a/mock/mail.go +++ b/mock/mail.go @@ -1,3 +1,4 @@ +// nolint package mock type MailClientMockImpl struct{} diff --git a/mock/scraper.go b/mock/scraper.go index c8e86c0..e692c31 100644 --- a/mock/scraper.go +++ b/mock/scraper.go @@ -1,3 +1,4 @@ +// nolint package mock import (