aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Hanley <felix@userspace.com.au>2019-12-02 21:32:35 +0000
committerFelix Hanley <felix@userspace.com.au>2019-12-02 21:32:35 +0000
commit8acc638c5b303cecdc17bb2b2770b87fc2dfbb15 (patch)
treea921f0283d20e37c09d757c86b8e801c978e1eb0
parent864d643e23910efd2f3965014972eee5e16a5a86 (diff)
downloadlogger-8acc638c5b303cecdc17bb2b2770b87fc2dfbb15.tar.gz
logger-8acc638c5b303cecdc17bb2b2770b87fc2dfbb15.tar.bz2
Tidy
-rw-r--r--Makefile4
-rw-r--r--go.mod2
-rw-r--r--go.sum9
3 files changed, 11 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index dadc56e..2c4c351 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
.PHONY: test
test: lint ## Run tests and create coverage report
go test -short -coverprofile=coverage.txt -covermode=atomic ./... \
- && go tool cover -html=coverage.txt -o coverage.html
+ && go tool cover -func=coverage.txt
.PHONY: lint
lint: ## Run the code linter
@@ -10,7 +10,7 @@ lint: ## Run the code linter
.PHONY: clean
clean: ## Clean up temp files and binaries
- @rm -rf coverage*
+ rm -rf coverage*
.PHONY: help
help:
diff --git a/go.mod b/go.mod
index 1a7b5ba..1db09ca 100644
--- a/go.mod
+++ b/go.mod
@@ -5,5 +5,5 @@ go 1.12
require (
github.com/sirupsen/logrus v1.4.2
github.com/streadway/amqp v0.0.0-20171101222333-ff791c2d22d3
- github.com/stretchr/testify v1.3.0 // indirect
+ github.com/stretchr/testify v1.4.0 // indirect
)
diff --git a/go.sum b/go.sum
index 6d4ffdb..9cb68d1 100644
--- a/go.sum
+++ b/go.sum
@@ -5,6 +5,7 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGi
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/streadway/amqp v0.0.0-20171101222333-ff791c2d22d3 h1:qIyhhqB8VkGrFFxoFk3fWJavm55YQNFrf2qKr4cO7r4=
github.com/streadway/amqp v0.0.0-20171101222333-ff791c2d22d3/go.mod h1:1WNBiOZtZQLpVAyu0iTduoJL9hEsMloAK5XWrtW0xdY=
@@ -12,5 +13,11 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
-github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
+github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
+golang.org/x/sys v0.0.0-20190422165155-953cdadca894 h1:Cz4ceDQGXuKRnVBDTS23GTn/pU5OE2C0WrNTOYK1Uuc=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
+gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=