From 78dee3c0ba1a241f27e218a5095d270ba3ad209a Mon Sep 17 00:00:00 2001 From: Matt Bostock Date: Tue, 10 Mar 2015 17:45:12 +0000 Subject: [PATCH] Rename package from logrus_airbrake to airbrake Using underscores in package names in discouraged: https://golang.org/doc/effective_go.html#package-names Given that this package is in a subdirectory of the logrus package, the name `airbrake` should be sufficiently descriptive. --- hooks/airbrake/airbrake.go | 2 +- hooks/airbrake/airbrake_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/airbrake/airbrake.go b/hooks/airbrake/airbrake.go index 75f4db1..9fa108a 100644 --- a/hooks/airbrake/airbrake.go +++ b/hooks/airbrake/airbrake.go @@ -1,4 +1,4 @@ -package logrus_airbrake +package airbrake import ( "github.com/Sirupsen/logrus" diff --git a/hooks/airbrake/airbrake_test.go b/hooks/airbrake/airbrake_test.go index d2fd61d..55df200 100644 --- a/hooks/airbrake/airbrake_test.go +++ b/hooks/airbrake/airbrake_test.go @@ -1,4 +1,4 @@ -package logrus_airbrake +package airbrake import ( "encoding/xml"