| commit | 4fcb55c7348338bda64180a0dcf7210693362404 | [log] [tgz] |
|---|---|---|
| author | Matt Bostock <matt@mattbostock.com> | Tue Mar 10 17:45:12 2015 +0000 |
| committer | Simon Eskildsen <sirup@sirupsen.com> | Thu Mar 19 10:03:27 2015 -0400 |
| tree | 8fc0ef63f58e0f586b8fe4d04bad309a7c4554ad | |
| parent | 9cc13fab16bb0966fbfe6be657ec4f68158988b3 [diff] |
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.
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"