Skip to content

Commit a21d610

Browse files
committed
Remvoe ExampleBinaryNew referring to nothing
1 parent db9d1be commit a21d610

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Diff for: binary_test.go

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build binary_log
12
// +build binary_log
23

34
package zerolog
@@ -11,15 +12,6 @@ import (
1112
"time"
1213
)
1314

14-
func ExampleBinaryNew() {
15-
dst := bytes.Buffer{}
16-
log := New(&dst)
17-
18-
log.Info().Msg("hello world")
19-
fmt.Println(decodeIfBinaryToString(dst.Bytes()))
20-
// Output: {"level":"info","message":"hello world"}
21-
}
22-
2315
func ExampleLogger_With() {
2416
dst := bytes.Buffer{}
2517
log := New(&dst).

0 commit comments

Comments
 (0)