Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Commit

Permalink
Fix import cycle in doc_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
zhevron committed Dec 9, 2015
1 parent 2b0c149 commit 6029ff6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions doc_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
package log

import (
"os"

"github.com/zhevron/log"
)
import "os"

var logger = NewLogger("ExampleLogger", Info)

Expand All @@ -14,7 +10,7 @@ func ExampleAddOutput() {
panic(err)
}
defer f.Close()
log.AddOutput(f)
AddOutput(f)
}

func ExampleLoggerDebug() {
Expand Down

0 comments on commit 6029ff6

Please sign in to comment.