diff --git a/log/logs_test.go b/log/logs_test.go index f45515e..1411077 100644 --- a/log/logs_test.go +++ b/log/logs_test.go @@ -19,6 +19,7 @@ import ( "testing" ) +// Logger. var logger = NewLogger(os.Stdout) func TestSetLevel(t *testing.T) { diff --git a/util/panic.go b/util/panic.go index 7e9a5b7..3c023d9 100644 --- a/util/panic.go +++ b/util/panic.go @@ -42,7 +42,7 @@ func Recover() { } } -// stack implements Stack, skipping 2 frames +// stack implements Stack, skipping 2 frames. func stack() []byte { buf := new(bytes.Buffer) // the returned data // As we loop, we open files and read them. These variables record the currently