Fix test on non linux platform
This commit is contained in:
parent
68a3fd989d
commit
f7c93dce1c
|
@ -1,14 +1,15 @@
|
||||||
// +build !windows
|
// +build linux
|
||||||
|
|
||||||
package journald_test
|
package journald_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"github.com/rs/zerolog"
|
|
||||||
"io"
|
"io"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/rs/zerolog"
|
||||||
|
"github.com/rs/zerolog/journald"
|
||||||
)
|
)
|
||||||
import "github.com/rs/zerolog/journald"
|
|
||||||
|
|
||||||
func ExampleNewJournalDWriter() {
|
func ExampleNewJournalDWriter() {
|
||||||
log := zerolog.New(journald.NewJournalDWriter())
|
log := zerolog.New(journald.NewJournalDWriter())
|
||||||
|
|
Loading…
Reference in New Issue