From 3cfd7a4e747982f90c7b2543ad80d385ef4b3db2 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 25 Jan 2016 15:19:09 +1100 Subject: [PATCH 1/2] Update rotate_test.go to use v2 of project Hi there. I thought it would be nice for the rotate example to use v2 of the package. --- rotate_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rotate_test.go b/rotate_test.go index 0561464..0feea21 100644 --- a/rotate_test.go +++ b/rotate_test.go @@ -8,7 +8,7 @@ import ( "os/signal" "syscall" - "github.com/natefinch/lumberjack" + "github.com/natefinch/lumberjack.v2" ) // Example of how to rotate in response to SIGHUP. From 5bae0dc0e2e7121b67aa8b91311d4c82b30bb2eb Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 25 Jan 2016 15:57:12 +1100 Subject: [PATCH 2/2] Use gopkg.in provider instead of github --- rotate_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rotate_test.go b/rotate_test.go index 0feea21..4bd4325 100644 --- a/rotate_test.go +++ b/rotate_test.go @@ -8,7 +8,7 @@ import ( "os/signal" "syscall" - "github.com/natefinch/lumberjack.v2" + "gopkg.in/natefinch/lumberjack.v2" ) // Example of how to rotate in response to SIGHUP.